Skip to content
This repository was archived by the owner on Mar 23, 2021. It is now read-only.

Commit f230c8b

Browse files
author
Tobin C. Harding
committed
Remove db integration test in favour of quickcheck test
1 parent 630c757 commit f230c8b

File tree

2 files changed

+1
-154
lines changed

2 files changed

+1
-154
lines changed

cnd/src/db/integration_tests.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -54,6 +54,7 @@ macro_rules! db_roundtrip_test {
5454
db.save(saved_accept.clone()).await?;
5555

5656
let loaded_swap = Retrieve::get(&db, &swap_id).await?;
57+
// If the assignment of `_at` works then we have a valid NaiveDateTime.
5758
let (loaded_request, loaded_accept, _at) = db.load_accepted_swap(&swap_id).await?;
5859
let loaded_swap_types = db.determine_types(&swap_id).await?;
5960

cnd/tests/db.rs

Lines changed: 0 additions & 154 deletions
This file was deleted.

0 commit comments

Comments
 (0)