summaryrefslogtreecommitdiffstats
path: root/tests/lib/files/view.php
diff options
context:
space:
mode:
authorRobin Appelman <icewind@owncloud.com>2014-08-04 16:17:11 +0200
committerRobin Appelman <icewind@owncloud.com>2014-09-05 11:53:23 +0200
commit3d92f963f4851900e284fdac59a0806c09b20579 (patch)
tree2802c3a31bd3dc096a666268fd20a7bb9d048799 /tests/lib/files/view.php
parent65d24c3cd5b9fa706626938bb75dec86720bde75 (diff)
downloadnextcloud-server-3d92f963f4851900e284fdac59a0806c09b20579.tar.gz
nextcloud-server-3d92f963f4851900e284fdac59a0806c09b20579.zip
Fix unit test
Diffstat (limited to 'tests/lib/files/view.php')
-rw-r--r--tests/lib/files/view.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/lib/files/view.php b/tests/lib/files/view.php
index a0f4d97d5b4..522535946a5 100644
--- a/tests/lib/files/view.php
+++ b/tests/lib/files/view.php
@@ -382,7 +382,7 @@ class View extends \PHPUnit_Framework_TestCase {
$rootView->putFileInfo('foo.txt', array('storage_mtime' => 1000)); //make sure the watcher detects the change
$rootView->file_put_contents('foo.txt', 'asd');
$cachedData = $rootView->getFileInfo('foo.txt');
- $this->assertGreaterThanOrEqual($cachedData['mtime'], $oldCachedData['mtime']);
+ $this->assertGreaterThanOrEqual($oldCachedData['mtime'], $cachedData['mtime']);
$this->assertEquals($cachedData['storage_mtime'], $cachedData['mtime']);
}