diff options
author | Thomas Müller <thomas.mueller@tmit.eu> | 2013-07-01 22:02:21 +0200 |
---|---|---|
committer | Thomas Müller <thomas.mueller@tmit.eu> | 2013-07-01 22:02:21 +0200 |
commit | b4f7a88788ef8359b08cea88707fc4c7a5d92ce1 (patch) | |
tree | 128ceb92d5fcc0e3b1d6fe23259be222ff694fee | |
parent | a20e9dee89ca2b0552840e1221828d19817a8cc7 (diff) | |
download | nextcloud-server-b4f7a88788ef8359b08cea88707fc4c7a5d92ce1.tar.gz nextcloud-server-b4f7a88788ef8359b08cea88707fc4c7a5d92ce1.zip |
rename can cause mtime change - invalid assert
-rw-r--r-- | tests/lib/files/cache/updater.php | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/tests/lib/files/cache/updater.php b/tests/lib/files/cache/updater.php index b2db27e42e0..5d7997b0544 100644 --- a/tests/lib/files/cache/updater.php +++ b/tests/lib/files/cache/updater.php @@ -201,11 +201,13 @@ class Updater extends \PHPUnit_Framework_TestCase { $cachedData = $cache2->get(''); $this->assertNotEquals($substorageCachedData['etag'], $cachedData['etag']); - $this->assertEquals($mtime, $cachedData['mtime']); + // rename can cause mtime change - invalid assert +// $this->assertEquals($mtime, $cachedData['mtime']); $cachedData = $this->cache->get('folder'); $this->assertNotEquals($folderCachedData['etag'], $cachedData['etag']); - $this->assertEquals($mtime, $cachedData['mtime']); + // rename can cause mtime change - invalid assert +// $this->assertEquals($mtime, $cachedData['mtime']); } public function testTouch() { |