Skip to content

Commit 41225f2

Browse files
committed
change assertion from not null to not empty
1 parent 22cfe96 commit 41225f2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/event-bus/src/Testing/EventBusTester.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ public function assertDispatched(string|object $event, ?Closure $callback = null
3838
{
3939
$this->assertFaked();
4040

41-
Assert::assertNotNull(
41+
Assert::assertNotEmpty(
4242
actual: $dispatches = $this->findDispatches($event),
4343
message: 'The event was not dispatched.',
4444
);

0 commit comments

Comments
 (0)