summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRobin Appelman <icewind@owncloud.com>2014-01-14 20:19:05 +0100
committerRobin Appelman <icewind@owncloud.com>2014-01-14 20:19:05 +0100
commit16b898ddb8bed50dca57472526d56a87a3b19c94 (patch)
treec593a168524f370bc930282d4c599408ae91adb1
parent7e4c80fd6055d20e90947b59706429fb619c17b0 (diff)
downloadnextcloud-server-16b898ddb8bed50dca57472526d56a87a3b19c94.tar.gz
nextcloud-server-16b898ddb8bed50dca57472526d56a87a3b19c94.zip
update another test
-rw-r--r--tests/lib/files/cache/scanner.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/lib/files/cache/scanner.php b/tests/lib/files/cache/scanner.php
index 3f3a045377a..3f5604b4d45 100644
--- a/tests/lib/files/cache/scanner.php
+++ b/tests/lib/files/cache/scanner.php
@@ -147,7 +147,7 @@ class Scanner extends \PHPUnit_Framework_TestCase {
$this->scanner->scan('');
$oldData = $this->cache->get('');
$this->storage->unlink('folder/bar.txt');
- $this->cache->put('folder', array('mtime' => $this->storage->filemtime('folder')));
+ $this->cache->put('folder', array('mtime' => $this->storage->filemtime('folder'), 'storage_mtime' => $this->storage->filemtime('folder')));
$this->scanner->scan('', \OC\Files\Cache\Scanner::SCAN_SHALLOW, \OC\Files\Cache\Scanner::REUSE_SIZE);
$newData = $this->cache->get('');
$this->assertNotEquals($oldData['etag'], $newData['etag']);