Skip to content

Commit

Permalink
[HttpFoundation] maked a test as being for deprecated feature
Browse files Browse the repository at this point in the history
  • Loading branch information
fabpot committed Jan 8, 2015
1 parent 80e4a9d commit b7d1f3e
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion Tests/Session/Flash/FlashBagTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -135,8 +135,10 @@ public function testPeekAll()
/**
* @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);
Expand Down

0 comments on commit b7d1f3e

Please sign in to comment.