summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorMichael Gapczynski <mtgap@owncloud.com>2013-07-03 06:19:56 -0700
committerMichael Gapczynski <mtgap@owncloud.com>2013-07-03 06:19:56 -0700
commit33e1ced53c31443ad9918d6bdd7d20afc628ccbd (patch)
tree8dcc337806dc45a8636e741a79d3ebcb94840583 /tests
parent56e91aa7b30cb2523959d98b792ce1385dedac43 (diff)
parentb4f7a88788ef8359b08cea88707fc4c7a5d92ce1 (diff)
downloadnextcloud-server-33e1ced53c31443ad9918d6bdd7d20afc628ccbd.tar.gz
nextcloud-server-33e1ced53c31443ad9918d6bdd7d20afc628ccbd.zip
Merge pull request #3911 from owncloud/fixing-unittests-master
rename can cause mtime change - invalid assert
Diffstat (limited to 'tests')
-rw-r--r--tests/lib/files/cache/updater.php6
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() {