Skip to content

Commit

Permalink
chore: fix broken test
Browse files Browse the repository at this point in the history
  • Loading branch information
rholshausen committed Jul 2, 2024
1 parent 833e1c7 commit 1115b3f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pact_mock_server/src/tests.rs
Original file line number Diff line number Diff line change
Expand Up @@ -226,10 +226,10 @@ fn match_request_with_header_with_multiple_values() -> anyhow::Result<()> {

let mismatches = manager.find_mock_server_by_id(&id, &|_, ms| {
ms.unwrap_left().mismatches()
});
}).unwrap();
manager.shutdown_mock_server_by_port(port);

expect!(mismatches).to(be_none());
expect!(mismatches.iter()).to(be_empty());
expect!(response.unwrap().status()).to(be_equal_to(200));

Ok(())
Expand Down

0 comments on commit 1115b3f

Please sign in to comment.