diff options
Diffstat (limited to 'tests/lib/streamwrappers.php')
-rw-r--r-- | tests/lib/streamwrappers.php | 4 |
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 +} |