BUGFIX: fixing unit test

This commit is contained in:
Julian Seidenberg 2012-07-25 18:59:01 +12:00
parent e50f776a0d
commit 7a4444fd80

View File

@ -19,6 +19,6 @@ class DMSTagTest extends SapphireTest {
$fruits = $doc->getTags("fruit");
$this->assertNotNull($fruits,"Something returned for fruit tags");
$this->assertEquals(count($fruits),3,"3 fruit tags returned");
$this->assertArrayHasKey("banana",$fruits,"correct fruit tags returned");
$this->assertTrue(in_array("banana",$fruits),"correct fruit tags returned");
}
}