[Pkg-owncloud-commits] [owncloud] 23/62: Register sharing hooks in trashbin tests

David Prévot taffit at moszumanska.debian.org
Tue Jun 23 23:39:34 UTC 2015


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

taffit pushed a commit to annotated tag v8.0.5beta
in repository owncloud.

commit 70bcb1a1c1b0480eff87cf171287b5095eea9ef2
Author: Vincent Petry <pvince81 at owncloud.com>
Date:   Mon Jun 8 11:31:44 2015 +0200

    Register sharing hooks in trashbin tests
    
    Register sharing hooks to make sure that the share mount points are
    mounted properly, as required by the share-related trashbin tests.
---
 apps/files_trashbin/tests/storage.php | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/apps/files_trashbin/tests/storage.php b/apps/files_trashbin/tests/storage.php
index 44ccd3c..fb759e8 100644
--- a/apps/files_trashbin/tests/storage.php
+++ b/apps/files_trashbin/tests/storage.php
@@ -233,6 +233,7 @@ class Storage extends \Test\TestCase {
 	 */
 	public function testDeleteVersionsOfFileAsRecipient() {
 		\OCA\Files_Versions\Hooks::connectHooks();
+		\OCA\Files_Sharing\Helper::registerHooks();
 
 		$this->userView->mkdir('share');
 		// trigger a version (multiple would not work because of the expire logic)
@@ -280,6 +281,7 @@ class Storage extends \Test\TestCase {
 	 */
 	public function testDeleteVersionsOfFolderAsRecipient() {
 		\OCA\Files_Versions\Hooks::connectHooks();
+		\OCA\Files_Sharing\Helper::registerHooks();
 
 		$this->userView->mkdir('share');
 		$this->userView->mkdir('share/folder');

-- 
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