minor #13327 [HttpFoundation] maked a test as being for deprecated feature (fabpot)

This PR was merged into the 2.7 branch.

Discussion
----------

[HttpFoundation] maked a test as being for deprecated feature

| Q             | A
| ------------- | ---
| Bug fix?      | no
| New feature?  | no
| BC breaks?    | no
| Deprecations? | no
| Tests pass?   | yes
| Fixed tickets | n/a
| License       | MIT
| Doc PR        | n/a

Commits
-------

a2ea28d [HttpFoundation] maked a test as being for deprecated feature
This commit is contained in:
Fabien Potencier 2015-01-08 13:59:47 +01:00
commit 5c5a99e3f1

View File

@ -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);