[Pkg-owncloud-commits] [owncloud] 66/85: Fix unit test
David Prévot
taffit at moszumanska.debian.org
Tue Jun 17 19:12:46 UTC 2014
This is an automated email from the git hooks/post-receive script.
taffit pushed a commit to branch 6.0
in repository owncloud.
commit 84222e30a76c690ab1d217a8e39f59feb958464e
Author: Robin Appelman <icewind at owncloud.com>
Date: Mon Jun 16 13:37:08 2014 +0200
Fix unit test
---
tests/lib/files/utils/scanner.php | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/tests/lib/files/utils/scanner.php b/tests/lib/files/utils/scanner.php
index 159a2a4..5e5cc6a 100644
--- a/tests/lib/files/utils/scanner.php
+++ b/tests/lib/files/utils/scanner.php
@@ -112,7 +112,7 @@ class Scanner extends \PHPUnit_Framework_TestCase {
$this->assertEquals(array('/foo', '/foo/folder', '/foo/folder/bar.txt', '/foo/foo.txt'), $changes);
$this->assertEquals(array('/', '/foo', '/foo/folder'), $parents);
- $cache->put('foo.txt', array('mtime' => time() - 50));
+ $cache->put('foo.txt', array('storage_mtime' => time() - 50));
$propagator = $this->getMock('\OC\Files\Cache\ChangePropagator', array('propagateChanges'), array(), '', false);
$scanner->setPropagator($propagator);
@@ -128,7 +128,7 @@ class Scanner extends \PHPUnit_Framework_TestCase {
$scanner->setPropagator($originalPropagator);
$oldInfo = $cache->get('');
- $cache->put('foo.txt', array('mtime' => time() - 70));
+ $cache->put('foo.txt', array('storage_mtime' => time() - 70));
$storage->file_put_contents('foo.txt', 'asdasd');
$scanner->scan('');
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-owncloud/owncloud.git
More information about the Pkg-owncloud-commits
mailing list