Skip to content

Commit

Permalink
Remove legacy group from test, add missing space
Browse files Browse the repository at this point in the history
  • Loading branch information
ker0x committed Dec 27, 2022
1 parent 278e1de commit bb1739d
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 9 deletions.
2 changes: 1 addition & 1 deletion UPGRADE-6.3.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ DependencyInjection
FrameworkBundle
---------------

* Deprecate the `notifier.logger_notification_listener` service, use the `notifier.notification_logger_listener` service instead
* Deprecate the `notifier.logger_notification_listener` service, use the `notifier.notification_logger_listener` service instead

HttpKernel
----------
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,21 +11,13 @@

namespace Symfony\Bundle\FrameworkBundle\Tests\Functional;

use Symfony\Bridge\PhpUnit\ExpectDeprecationTrait;

final class NotificationTest extends AbstractWebTestCase
{
use ExpectDeprecationTrait;

/**
* @requires function \Symfony\Bundle\MercureBundle\MercureBundle::build
*
* @group legacy
*/
public function testNotifierAssertion()
{
$this->expectDeprecation('Since symfony/framework-bundle 6.3: The "notifier.logger_notification_listener" service is deprecated, use "notifier.notification_logger_listener" instead.');

$client = $this->createClient(['test_case' => 'Notifier', 'root_config' => 'config.yml', 'debug' => true]);
$client->request('GET', '/send_notification');

Expand Down

0 comments on commit bb1739d

Please sign in to comment.