Skip to content

Commit 83d6b80

Browse files
committed
[FrameworkBundle] Fix call to invalid method in NotificationAssertionsTrait
1 parent 567cafc commit 83d6b80

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Test/NotificationAssertionsTrait.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ public static function assertNotificationCount(int $count, string $transportName
2929

3030
public static function assertQueuedNotificationCount(int $count, string $transportName = null, string $message = ''): void
3131
{
32-
self::assertThat(self::getMessageMailerEvents(), new NotifierConstraint\NotificationCount($count, $transportName, true), $message);
32+
self::assertThat(self::getNotificationEvents(), new NotifierConstraint\NotificationCount($count, $transportName, true), $message);
3333
}
3434

3535
public static function assertNotificationIsQueued(MessageEvent $event, string $message = ''): void

0 commit comments

Comments
 (0)