mirror of
https://github.com/silverstripe/silverstripe-dms
synced 2024-10-22 14:05:56 +02:00
BUGFIX: fixing unit test
This commit is contained in:
parent
e50f776a0d
commit
7a4444fd80
@ -19,6 +19,6 @@ class DMSTagTest extends SapphireTest {
|
|||||||
$fruits = $doc->getTags("fruit");
|
$fruits = $doc->getTags("fruit");
|
||||||
$this->assertNotNull($fruits,"Something returned for fruit tags");
|
$this->assertNotNull($fruits,"Something returned for fruit tags");
|
||||||
$this->assertEquals(count($fruits),3,"3 fruit tags returned");
|
$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");
|
||||||
}
|
}
|
||||||
}
|
}
|
Loading…
Reference in New Issue
Block a user