From c609b3084166c08249a68796d0a2d5941ac0c8e7 Mon Sep 17 00:00:00 2001
From: Robin Appelman <icewind@owncloud.com>
Date: Sat, 3 Mar 2012 00:55:47 +0100
Subject: [PATCH] fix the filestorage test a bit

---
 tests/lib/filestorage.php | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

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');
-- 
GitLab