summaryrefslogtreecommitdiffstats
path: root/tests/lib/filestorage.php
diff options
context:
space:
mode:
Diffstat (limited to 'tests/lib/filestorage.php')
-rw-r--r--tests/lib/filestorage.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/lib/filestorage.php b/tests/lib/filestorage.php
index 3f7bb7b62dc..4431abe83c7 100644
--- a/tests/lib/filestorage.php
+++ b/tests/lib/filestorage.php
@@ -216,7 +216,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);
}
}