X-Git-Url: http://www.aleph1.co.uk/gitweb/?a=blobdiff_plain;ds=sidebyside;f=vendor%2Fsymfony%2Fhttp-foundation%2FTests%2FSession%2FAttribute%2FAttributeBagTest.php;fp=vendor%2Fsymfony%2Fhttp-foundation%2FTests%2FSession%2FAttribute%2FAttributeBagTest.php;h=724a0b9844700d79dae4c6842e58b304c07ac3be;hb=af6d1fb995500ae68849458ee10d66abbdcfb252;hp=8c148b58f06c8aec081902c879557defa964fe50;hpb=680c79a86e3ed402f263faeac92e89fb6d9edcc0;p=yaffs-website diff --git a/vendor/symfony/http-foundation/Tests/Session/Attribute/AttributeBagTest.php b/vendor/symfony/http-foundation/Tests/Session/Attribute/AttributeBagTest.php index 8c148b58f..724a0b984 100644 --- a/vendor/symfony/http-foundation/Tests/Session/Attribute/AttributeBagTest.php +++ b/vendor/symfony/http-foundation/Tests/Session/Attribute/AttributeBagTest.php @@ -21,10 +21,7 @@ use Symfony\Component\HttpFoundation\Session\Attribute\AttributeBag; */ class AttributeBagTest extends TestCase { - /** - * @var array - */ - private $array; + private $array = array(); /** * @var AttributeBag @@ -184,6 +181,6 @@ class AttributeBagTest extends TestCase public function testCount() { - $this->assertEquals(count($this->array), count($this->bag)); + $this->assertCount(count($this->array), $this->bag); } }