[HttpFoundation] maked a test as being for deprecated feature
This commit is contained in:
parent
8d4fcc0798
commit
a2ea28d8b7
@ -135,8 +135,10 @@ class FlashBagTest extends \PHPUnit_Framework_TestCase
|
||||
/**
|
||||
* @covers Symfony\Component\HttpFoundation\Session\Flash\FlashBag::getIterator
|
||||
*/
|
||||
public function testGetIterator()
|
||||
public function testLegacyGetIterator()
|
||||
{
|
||||
$this->iniSet('error_reporting', -1 & ~E_USER_DEPRECATED);
|
||||
|
||||
$flashes = array('hello' => 'world', 'beep' => 'boop', 'notice' => 'nope');
|
||||
foreach ($flashes as $key => $val) {
|
||||
$this->bag->set($key, $val);
|
||||
|
Reference in New Issue
Block a user