diff options
author | Vincent Petry <pvince81@owncloud.com> | 2016-05-19 15:31:43 +0200 |
---|---|---|
committer | Vincent Petry <pvince81@owncloud.com> | 2016-05-19 15:31:43 +0200 |
commit | 61b3260ebdf9e5756719485416381fdcf4b2f589 (patch) | |
tree | 979e9dd9166368b5c95cf28713955cfa455e6c95 /tests/lib/files/view.php | |
parent | 6ace14b6ad34821c8cf51b4854aa624c116c3c9e (diff) | |
parent | bae4118b4fe08c22cf3a12236705d09423a37b8b (diff) | |
download | nextcloud-server-61b3260ebdf9e5756719485416381fdcf4b2f589.tar.gz nextcloud-server-61b3260ebdf9e5756719485416381fdcf4b2f589.zip |
Merge pull request #24716 from owncloud/fix-test-namespaces-2
Fix test namespaces [files-]
Diffstat (limited to 'tests/lib/files/view.php')
-rw-r--r-- | tests/lib/files/view.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/lib/files/view.php b/tests/lib/files/view.php index 86413c61aa1..d33c9f31503 100644 --- a/tests/lib/files/view.php +++ b/tests/lib/files/view.php @@ -1508,7 +1508,7 @@ class View extends \Test\TestCase { $defaultView = new \OC\Files\View('/foo/files'); $defaultRootValue->setValue($defaultView); $view = new \OC\Files\View($root); - $result = \Test_Helper::invokePrivate($view, 'shouldEmitHooks', [$path]); + $result = $this->invokePrivate($view, 'shouldEmitHooks', [$path]); $defaultRootValue->setValue($oldRoot); $this->assertEquals($shouldEmit, $result); } @@ -1872,7 +1872,7 @@ class View extends \Test\TestCase { $this->assertEquals(ILockingProvider::LOCK_SHARED, $lockTypePre, 'File locked properly during pre-hook'); $this->assertEquals(ILockingProvider::LOCK_EXCLUSIVE, $lockTypeDuring, 'File locked properly during operation'); - $this->assertNull(null, $lockTypePost, 'No post hook, no lock check possible'); + $this->assertNull($lockTypePost, 'No post hook, no lock check possible'); $this->assertEquals(ILockingProvider::LOCK_EXCLUSIVE, $lockTypeDuring, 'File still locked after fopen'); |