Skip to content

Commit

Permalink
test(producer): add expect not to perform assertion
Browse files Browse the repository at this point in the history
  • Loading branch information
GetulioMR committed Oct 10, 2023
1 parent be49acf commit 0e52815
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions tests/Integration/ProducerWithAvroTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,7 @@ public function testShouldRunAProducerMessagesWithAAvroSchema(): void

// I expect that
$this->myMessagesHaveBeenLogged();
$this->expectNotToPerformAssertions();
}

protected function haveAHandlerConfigured(): void
Expand Down
1 change: 1 addition & 0 deletions tests/Integration/ProducerWithConfigOptionsTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@ public function testShouldRunAProducerMessagesWithConfigOptions(): void

// I Expect That
$this->myMessagesHaveBeenLogged();
$this->expectNotToPerformAssertions();

// When I
$this->runTheConsumer();
Expand Down

0 comments on commit 0e52815

Please sign in to comment.