summaryrefslogtreecommitdiffstats
path: root/tests/lib
diff options
context:
space:
mode:
authorRobin Appelman <icewind@owncloud.com>2012-03-03 00:55:47 +0100
committerRobin Appelman <icewind@owncloud.com>2012-03-03 00:57:52 +0100
commitc609b3084166c08249a68796d0a2d5941ac0c8e7 (patch)
tree20b7e5eed6394ccb9c7fdd5d0c6fd66037805d26 /tests/lib
parent1794ad353d90d8168ae592a192353f1375473462 (diff)
downloadnextcloud-server-c609b3084166c08249a68796d0a2d5941ac0c8e7.tar.gz
nextcloud-server-c609b3084166c08249a68796d0a2d5941ac0c8e7.zip
fix the filestorage test a bit
Diffstat (limited to 'tests/lib')
-rw-r--r--tests/lib/filestorage.php3
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/lib/filestorage.php b/tests/lib/filestorage.php
index f8d4d9c4395..9ffa0eca9cb 100644
--- a/tests/lib/filestorage.php
+++ b/tests/lib/filestorage.php
@@ -137,7 +137,8 @@ abstract class Test_FileStorage extends UnitTestCase {
$mTime=$this->instance->filemtime('/lorem.txt');
$this->assertTrue($ctimeStart<=$cTime);
$this->assertTrue($cTime<=$ctimeEnd);
- $this->assertEqual($cTime,$mTime);
+ $this->assertTrue($ctimeStart<=$mTime);
+ $this->assertTrue($mTime<=$ctimeEnd);
$this->assertEqual(filesize($textFile),$this->instance->filesize('/lorem.txt'));
$stat=$this->instance->stat('/lorem.txt');