summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorRobin Appelman <icewind@owncloud.com>2012-10-11 22:39:20 +0200
committerRobin Appelman <icewind@owncloud.com>2012-10-11 22:39:20 +0200
commit7f7c1fcccfc86f2c847d4aa2d62f96fe9ab11794 (patch)
tree5acb36d7ba83b260fb916001a52e837d01e88805 /tests
parent34fdd0e839b12e35f848718dedcaab710a93059a (diff)
downloadnextcloud-server-7f7c1fcccfc86f2c847d4aa2d62f96fe9ab11794.tar.gz
nextcloud-server-7f7c1fcccfc86f2c847d4aa2d62f96fe9ab11794.zip
fix storage test case
Diffstat (limited to 'tests')
-rw-r--r--tests/lib/filestorage.php3
1 files changed, 0 insertions, 3 deletions
diff --git a/tests/lib/filestorage.php b/tests/lib/filestorage.php
index 58ac0cd6905..5a8de309134 100644
--- a/tests/lib/filestorage.php
+++ b/tests/lib/filestorage.php
@@ -173,11 +173,9 @@ abstract class Test_FileStorage extends UnitTestCase {
$supportsTouch = $this->instance->touch('/lorem.txt');
$mtimeEnd = time();
if ($supportsTouch !== false) {
- $originalCTime = $cTime;
$mTime = $this->instance->filemtime('/lorem.txt');
$this->assertTrue(($mtimeStart - 1) <= $mTime);
$this->assertTrue($mTime <= ($mtimeEnd + 1));
- $this->assertEqual($cTime, $originalCTime);
$this->assertTrue($this->instance->hasUpdated('/lorem.txt', $mtimeStart - 1));
@@ -193,7 +191,6 @@ abstract class Test_FileStorage extends UnitTestCase {
fclose($fh);
clearstatcache();
$mtimeEnd = time();
- $originalCTime = $cTime;
$mTime = $this->instance->filemtime('/lorem.txt');
$this->assertTrue(($mtimeStart - 1) <= $mTime);
$this->assertTrue($mTime <= ($mtimeEnd + 1));