summaryrefslogtreecommitdiffstats
path: root/tests/lib/streamwrappers.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/streamwrappers.php
parent6fdd1a96ad26633463b9353f8408f19db4b2407a (diff)
downloadnextcloud-server-22f8f50e050f63c02193c4256e515bab25db1cf7.tar.gz
nextcloud-server-22f8f50e050f63c02193c4256e515bab25db1cf7.zip
initual phpunit support
Diffstat (limited to 'tests/lib/streamwrappers.php')
-rw-r--r--tests/lib/streamwrappers.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/lib/streamwrappers.php b/tests/lib/streamwrappers.php
index 5d6fe8da826..46838ff9754 100644
--- a/tests/lib/streamwrappers.php
+++ b/tests/lib/streamwrappers.php
@@ -28,7 +28,7 @@ class Test_StreamWrappers extends UnitTestCase {
$result=array();
while($file=readdir($dh)) {
$result[]=$file;
- $this->assertNotIdentical(false,array_search($file,$items));
+ $this->assertContains($file, $items);
}
$this->assertEqual(count($items),count($result));
}
@@ -75,4 +75,4 @@ class Test_StreamWrappers extends UnitTestCase {
public static function closeCallBack($path) {
throw new Exception($path);
}
-} \ No newline at end of file
+}