Skip to content

Commit

Permalink
Added expected deprecation notice to \Symfony\Bundle\FrameworkBundle\…
Browse files Browse the repository at this point in the history
…Tests\Functional\SessionTest::testFlashOnInjectedFlashbag
  • Loading branch information
warslett committed Mar 30, 2020
1 parent a510f9b commit 2e4bc95
Showing 1 changed file with 2 additions and 0 deletions.
Expand Up @@ -72,6 +72,8 @@ public function testFlash($config, $insulate)
/**
* Tests flash messages work when flashbag service is injected to the constructor.
*
* @group legacy
* @expectedDeprecation The "session.flash_bag" service is deprecated since Symfony 5.1. Use $session->getFlashBag() instead
* @dataProvider getConfigs
*/
public function testFlashOnInjectedFlashbag($config, $insulate)
Expand Down

0 comments on commit 2e4bc95

Please sign in to comment.