diff options
author | Robin Appelman <icewind@owncloud.com> | 2013-01-22 16:36:03 +0100 |
---|---|---|
committer | Robin Appelman <icewind@owncloud.com> | 2013-01-22 16:36:03 +0100 |
commit | db2b485b9681b93200bcca6b5780b78008f9c1de (patch) | |
tree | 3e739ecea8be6e07ec55917917e923b9b49a3f98 /tests | |
parent | 465c100d8f5932340ea80f8a426ca7f404fc97c6 (diff) | |
download | nextcloud-server-db2b485b9681b93200bcca6b5780b78008f9c1de.tar.gz nextcloud-server-db2b485b9681b93200bcca6b5780b78008f9c1de.zip |
Cache: fix test case Updater::testRename
Diffstat (limited to 'tests')
-rw-r--r-- | tests/lib/files/cache/updater.php | 2 |
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(''); |