Security update for Core, with self-updated composer
[yaffs-website] / vendor / symfony / http-foundation / Tests / Session / Flash / FlashBagTest.php
index 3de22460357be94130eeab048e13e377cad16c77..f0aa6a61577f4a2fae7caca270b2f6ab7e2ef988 100644 (file)
@@ -132,24 +132,4 @@ class FlashBagTest extends TestCase
             ), $this->bag->peekAll()
         );
     }
-
-    /**
-     * @group legacy
-     */
-    public function testLegacyGetIterator()
-    {
-        $flashes = array('hello' => 'world', 'beep' => 'boop', 'notice' => 'nope');
-        foreach ($flashes as $key => $val) {
-            $this->bag->set($key, $val);
-        }
-
-        $i = 0;
-        foreach ($this->bag as $key => $val) {
-            $this->assertEquals(array($flashes[$key]), $val);
-            ++$i;
-        }
-
-        $this->assertEquals(count($flashes), $i);
-        $this->assertCount(0, $this->bag->all());
-    }
 }