Use assertCount (#140)

This commit is contained in:
Gabriel Caruso
2017-12-07 21:29:55 +01:00
committed by Jaap van Otterdijk
parent bab88701ea
commit 4ea190884d
+1 -1
View File
@@ -93,7 +93,7 @@ class DescriptionTest extends TestCase
$fixture = new Description($body, $tags);
$this->assertEquals(2, count($fixture->getTags()));
$this->assertCount(2, $fixture->getTags());
$actualTags = $fixture->getTags();
$this->assertSame($tags, $actualTags);