diff options
author | Robin Appelman <icewind@owncloud.com> | 2015-04-09 15:13:56 +0200 |
---|---|---|
committer | Robin Appelman <icewind@owncloud.com> | 2015-04-13 17:10:02 +0200 |
commit | 01da6be4d6301cceb3a0c04106aacc7178783353 (patch) | |
tree | 6c8c5ef72e9c15472ea38db167a64ff890a0e237 /tests | |
parent | addfafd9da020466df1d1fac56b9f1eb30f79f68 (diff) | |
download | nextcloud-server-01da6be4d6301cceb3a0c04106aacc7178783353.tar.gz nextcloud-server-01da6be4d6301cceb3a0c04106aacc7178783353.zip |
upda tests
Diffstat (limited to 'tests')
-rw-r--r-- | tests/lib/files/node/integration.php | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/tests/lib/files/node/integration.php b/tests/lib/files/node/integration.php index 4e362607240..545793be54a 100644 --- a/tests/lib/files/node/integration.php +++ b/tests/lib/files/node/integration.php @@ -37,11 +37,6 @@ class IntegrationTests extends \Test\TestCase { \OC_Hook::clear('OC_Filesystem'); - \OC_Hook::connect('OC_Filesystem', 'post_write', '\OC\Files\Cache\Updater', 'writeHook'); - \OC_Hook::connect('OC_Filesystem', 'post_delete', '\OC\Files\Cache\Updater', 'deleteHook'); - \OC_Hook::connect('OC_Filesystem', 'post_rename', '\OC\Files\Cache\Updater', 'renameHook'); - \OC_Hook::connect('OC_Filesystem', 'post_touch', '\OC\Files\Cache\Updater', 'touchHook'); - $user = new User($this->getUniqueID('user'), new \OC_User_Dummy); $this->loginAsUser($user->getUID()); @@ -83,7 +78,7 @@ class IntegrationTests extends \Test\TestCase { $this->assertEquals('bar.txt', $file->getInternalPath()); $file->move('/substorage/bar.txt'); - $this->assertNotEquals($id, $file->getId()); + $this->assertEquals($id, $file->getId()); $this->assertEquals('qwerty', $file->getContent()); } |