diff options
Diffstat (limited to 'tests/lib/filestorage.php')
-rw-r--r-- | tests/lib/filestorage.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/lib/filestorage.php b/tests/lib/filestorage.php index 101da0d1ada..ae780bee85a 100644 --- a/tests/lib/filestorage.php +++ b/tests/lib/filestorage.php @@ -218,7 +218,7 @@ abstract class Test_FileStorage extends UnitTestCase { $this->instance->file_put_contents('/logo-wide.svg',file_get_contents($svgFile,'r')); $result=$this->instance->search('logo'); $this->assertEqual(2,count($result)); - $this->assertNotIdentical(false,array_search('/logo-wide.svg',$result)); - $this->assertNotIdentical(false,array_search('/logo-wide.png',$result)); + $this->assertContains('/logo-wide.svg',$result); + $this->assertContains('/logo-wide.png',$result); } } |