Skip to content
Snippets Groups Projects
Commit 16b898dd authored by Robin Appelman's avatar Robin Appelman
Browse files

update another test

parent 7e4c80fd
No related branches found
No related tags found
No related merge requests found
...@@ -147,7 +147,7 @@ class Scanner extends \PHPUnit_Framework_TestCase { ...@@ -147,7 +147,7 @@ class Scanner extends \PHPUnit_Framework_TestCase {
$this->scanner->scan(''); $this->scanner->scan('');
$oldData = $this->cache->get(''); $oldData = $this->cache->get('');
$this->storage->unlink('folder/bar.txt'); $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); $this->scanner->scan('', \OC\Files\Cache\Scanner::SCAN_SHALLOW, \OC\Files\Cache\Scanner::REUSE_SIZE);
$newData = $this->cache->get(''); $newData = $this->cache->get('');
$this->assertNotEquals($oldData['etag'], $newData['etag']); $this->assertNotEquals($oldData['etag'], $newData['etag']);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment