summaryrefslogtreecommitdiffstats
path: root/tests/lib/filestorage.php
diff options
context:
space:
mode:
authorRobin Appelman <icewind@owncloud.com>2012-10-03 21:06:01 +0200
committerRobin Appelman <icewind@owncloud.com>2012-10-03 21:29:50 +0200
commit22f8f50e050f63c02193c4256e515bab25db1cf7 (patch)
tree1b9868d38a17d1e6eee6b052626edb1a00e069ac /tests/lib/filestorage.php
parent6fdd1a96ad26633463b9353f8408f19db4b2407a (diff)
downloadnextcloud-server-22f8f50e050f63c02193c4256e515bab25db1cf7.tar.gz
nextcloud-server-22f8f50e050f63c02193c4256e515bab25db1cf7.zip
initual phpunit support
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);
}
}