From 1610db245e0eddfa4e973721269107ab0ee6b8d5 Mon Sep 17 00:00:00 2001 From: Romain Monteil Date: Wed, 4 Oct 2023 16:12:03 +0200 Subject: [PATCH] [FrameworkBundle] Fix call to invalid method in NotificationAssertionsTrait --- .../Bundle/FrameworkBundle/Test/NotificationAssertionsTrait.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Symfony/Bundle/FrameworkBundle/Test/NotificationAssertionsTrait.php b/src/Symfony/Bundle/FrameworkBundle/Test/NotificationAssertionsTrait.php index 30298ef04c54f..5f2876c63c98b 100644 --- a/src/Symfony/Bundle/FrameworkBundle/Test/NotificationAssertionsTrait.php +++ b/src/Symfony/Bundle/FrameworkBundle/Test/NotificationAssertionsTrait.php @@ -29,7 +29,7 @@ public static function assertNotificationCount(int $count, string $transportName public static function assertQueuedNotificationCount(int $count, string $transportName = null, string $message = ''): void { - self::assertThat(self::getMessageMailerEvents(), new NotifierConstraint\NotificationCount($count, $transportName, true), $message); + self::assertThat(self::getNotificationEvents(), new NotifierConstraint\NotificationCount($count, $transportName, true), $message); } public static function assertNotificationIsQueued(MessageEvent $event, string $message = ''): void pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy