Skip to content

Commit

Permalink
fix: contact repo test had wrong name
Browse files Browse the repository at this point in the history
  • Loading branch information
jasonribble committed Jul 15, 2024
1 parent 6b2568b commit 9136f3f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/db.rs
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@ mod tests {
models::Contact::new("John", "Smith", "johndoe@example.com", "123-456-7890").unwrap();

mock_contact_repo
.expect_save_contact()
.expect_save()
.times(1)
.with(eq(test_contact.clone()))
.returning(|_| Ok(1));
Expand Down Expand Up @@ -147,7 +147,7 @@ mod tests {
let mut mock_contact_repo = MockContactRepo::new();

mock_contact_repo
.expect_update_contact()
.expect_update()
.times(1)
.return_once(|_| Ok(()));

Expand Down

0 comments on commit 9136f3f

Please sign in to comment.