Skip to content

Commit b7d1f3e

Browse files
committed
[HttpFoundation] maked a test as being for deprecated feature
1 parent 80e4a9d commit b7d1f3e

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

Tests/Session/Flash/FlashBagTest.php

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -135,8 +135,10 @@ public function testPeekAll()
135135
/**
136136
* @covers Symfony\Component\HttpFoundation\Session\Flash\FlashBag::getIterator
137137
*/
138-
public function testGetIterator()
138+
public function testLegacyGetIterator()
139139
{
140+
$this->iniSet('error_reporting', -1 & ~E_USER_DEPRECATED);
141+
140142
$flashes = array('hello' => 'world', 'beep' => 'boop', 'notice' => 'nope');
141143
foreach ($flashes as $key => $val) {
142144
$this->bag->set($key, $val);

0 commit comments

Comments
 (0)