Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/server.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorRobin Appelman <icewind@owncloud.com>2013-01-22 19:36:03 +0400
committerRobin Appelman <icewind@owncloud.com>2013-01-22 19:36:03 +0400
commitdb2b485b9681b93200bcca6b5780b78008f9c1de (patch)
tree3e739ecea8be6e07ec55917917e923b9b49a3f98 /tests
parent465c100d8f5932340ea80f8a426ca7f404fc97c6 (diff)
Cache: fix test case Updater::testRename
Diffstat (limited to 'tests')
-rw-r--r--tests/lib/files/cache/updater.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/lib/files/cache/updater.php b/tests/lib/files/cache/updater.php
index 8bf395698ae..b4f373cdc2a 100644
--- a/tests/lib/files/cache/updater.php
+++ b/tests/lib/files/cache/updater.php
@@ -136,7 +136,7 @@ class Updater extends \PHPUnit_Framework_TestCase {
Filesystem::rename('foo.txt', 'bar.txt');
$this->assertFalse($this->cache->inCache('foo.txt'));
$this->assertTrue($this->cache->inCache('bar.txt'));
- $cachedData = $this->cache->get('foo.txt');
+ $cachedData = $this->cache->get('bar.txt');
$this->assertNotEquals($fooCachedData['etag'], $cachedData['etag']);
$mtime = $cachedData['mtime'];
$cachedData = $this->cache->get('');