Skip to content

Commit

Permalink
WIP test(fix): fix test
Browse files Browse the repository at this point in the history
I notied that after the tests, the database wasn't working though it passed all the tests

That's no good.
  • Loading branch information
jasonribble committed Sep 6, 2024
1 parent 7960862 commit 26b52cc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/db.rs
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,7 @@ mod tests {
models::Contact::new("John", "Smith", "[email protected]", "123-456-7890").unwrap();

mock_contact_repo
.expect_save()
.expect_create()
.times(1)
.with(eq(test_contact.clone()))
.returning(|_| Ok(1));
Expand Down

0 comments on commit 26b52cc

Please sign in to comment.