Skip to content

Commit

Permalink
fix(tests): adjust mock expectations
Browse files Browse the repository at this point in the history
  • Loading branch information
GetulioMR authored and hcdias committed Oct 11, 2023
1 parent b792fe0 commit c0c368e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/Unit/Connectors/Producer/ConnectorTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ public function failed(Message $message): void
->withAnyArgs();

$conf->expects()
->set('metadata.broker.list', 0);
->set('metadata.broker.list', $connections);

$producerConfigOptions->expects()
->getBroker()
Expand Down Expand Up @@ -102,7 +102,7 @@ public function failed(Message $message): void
->never();

$conf->expects()
->set('metadata.broker.list', 0);
->set('metadata.broker.list', $connections);

$producerConfigOptions->expects()
->getBroker()
Expand Down

0 comments on commit c0c368e

Please sign in to comment.