update another test
This commit is contained in:
parent
7e4c80fd60
commit
16b898ddb8
1 changed files with 1 additions and 1 deletions
2
tests/lib/files/cache/scanner.php
vendored
2
tests/lib/files/cache/scanner.php
vendored
|
@ -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']);
|
||||
|
|
Loading…
Reference in a new issue