[Pkg-owncloud-commits] [owncloud] 208/457: fix test

David Prévot taffit at moszumanska.debian.org
Sun Jun 28 20:06:08 UTC 2015


This is an automated email from the git hooks/post-receive script.

taffit pushed a commit to branch stable8
in repository owncloud.

commit d519aba878cca25acbe0aecc39efa9cb76bda4bb
Author: Robin Appelman <icewind at owncloud.com>
Date:   Mon May 11 17:22:39 2015 +0200

    fix test
---
 tests/lib/files/view.php | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/tests/lib/files/view.php b/tests/lib/files/view.php
index 9931074..06a42d6 100644
--- a/tests/lib/files/view.php
+++ b/tests/lib/files/view.php
@@ -1090,7 +1090,7 @@ class View extends \Test\TestCase {
 	public function testReadFromWriteLockedPath() {
 		$view = new \OC\Files\View();
 		$storage = new Temporary(array());
-		Filesystem::mount($storage, [], '/');
+		\OC\Files\Filesystem::mount($storage, [], '/');
 		$view->lockFile('/foo/bar', ILockingProvider::LOCK_EXCLUSIVE);
 		$view->lockFile('/foo/bar/asd', ILockingProvider::LOCK_SHARED);
 	}
@@ -1103,7 +1103,7 @@ class View extends \Test\TestCase {
 	public function testWriteToReadLockedFile() {
 		$view = new \OC\Files\View();
 		$storage = new Temporary(array());
-		Filesystem::mount($storage, [], '/');
+		\OC\Files\Filesystem::mount($storage, [], '/');
 		$view->lockFile('/foo/bar', ILockingProvider::LOCK_SHARED);
 		$view->lockFile('/foo/bar', ILockingProvider::LOCK_EXCLUSIVE);
 	}

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-owncloud/owncloud.git



More information about the Pkg-owncloud-commits mailing list