- 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:
2024-11-25 22:20:15 -05:00
parent 3ff22c9a5b
commit 3fc6c6252c
15 changed files with 181 additions and 103 deletions

View File

@@ -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;