From 9ff7728654205041fc4dddc2b896b6bd8f6e6c88 Mon Sep 17 00:00:00 2001 From: alpaylan Date: Fri, 16 Apr 2021 01:55:44 +0300 Subject: change mocked db. --- tests/route_tests.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tests/route_tests.rs') diff --git a/tests/route_tests.rs b/tests/route_tests.rs index 55a536d..09aa10e 100644 --- a/tests/route_tests.rs +++ b/tests/route_tests.rs @@ -7,7 +7,7 @@ mod tests { /// Create a mock database to be used in tests fn mocked_db() -> Db { - let db = create_database(); + let db = Db::new(); db.users.write().insert( "mock_transaction_source".to_owned(), -- cgit v1.2.3-70-g09d2