diff --git a/tests/Symfony/Tests/Component/HttpFoundation/Session/Flash/FlashBagTest.php b/tests/Symfony/Tests/Component/HttpFoundation/Session/Flash/FlashBagTest.php index 0b8dc47f61..75be555afd 100644 --- a/tests/Symfony/Tests/Component/HttpFoundation/Session/Flash/FlashBagTest.php +++ b/tests/Symfony/Tests/Component/HttpFoundation/Session/Flash/FlashBagTest.php @@ -158,7 +158,7 @@ class FlashBagTest extends \PHPUnit_Framework_TestCase $i = 0; foreach ($this->bag as $key => $val) { - $this->assertEquals($flashes[$key], $val); + $this->assertEquals(array($flashes[$key]), $val); $i++; }