- update: database client to implement a database trait so we can mock it out
- update unit tests - add: database client mock
This commit is contained in:
@@ -8,4 +8,7 @@ pub mod auth {
|
||||
}
|
||||
pub mod database {
|
||||
tonic::include_proto!("database"); // Matches package name in database.proto
|
||||
}
|
||||
}
|
||||
|
||||
#[cfg(test)]
|
||||
pub mod mocks;
|
||||
Reference in New Issue
Block a user