aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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 9c6e3f6b8c1..e82a6f54e3d 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));