Use schema as test logger id.
authorArik Sosman <git@arik.io>
Fri, 8 Sep 2023 17:47:11 +0000 (10:47 -0700)
committerArik Sosman <git@arik.io>
Thu, 5 Oct 2023 01:07:19 +0000 (15:07 -1000)
src/types.rs

index 3e3d8c3317a2d622dd344dbab133449d05c54d62..f530bd41a112e41e082079e20fce4f19295c3877 100644 (file)
@@ -51,7 +51,8 @@ pub mod tests {
 
        impl TestLogger {
                pub fn new() -> TestLogger {
-                       Self::with_id("".to_owned())
+                       let id = crate::tests::db_test_schema();
+                       Self::with_id(id)
                }
                pub fn with_id(id: String) -> TestLogger {
                        TestLogger {