diff options
author | alpaylan | 2021-04-16 01:55:44 +0300 |
---|---|---|
committer | alpaylan | 2021-04-16 01:55:44 +0300 |
commit | 9ff7728654205041fc4dddc2b896b6bd8f6e6c88 (patch) | |
tree | 446545e317c0be23fd775c2945dae451bc5c2b82 /tests/route_tests.rs | |
parent | ed77ad769becf1db1407eeca710ac393abc07ffa (diff) | |
download | gradecoin-9ff7728654205041fc4dddc2b896b6bd8f6e6c88.tar.gz gradecoin-9ff7728654205041fc4dddc2b896b6bd8f6e6c88.tar.bz2 gradecoin-9ff7728654205041fc4dddc2b896b6bd8f6e6c88.zip |
change mocked db.
Diffstat (limited to 'tests/route_tests.rs')
-rw-r--r-- | tests/route_tests.rs | 2 |
1 files changed, 1 insertions, 1 deletions
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 { | |||
7 | 7 | ||
8 | /// Create a mock database to be used in tests | 8 | /// Create a mock database to be used in tests |
9 | fn mocked_db() -> Db { | 9 | fn mocked_db() -> Db { |
10 | let db = create_database(); | 10 | let db = Db::new(); |
11 | 11 | ||
12 | db.users.write().insert( | 12 | db.users.write().insert( |
13 | "mock_transaction_source".to_owned(), | 13 | "mock_transaction_source".to_owned(), |