[Pkg-owncloud-commits] [owncloud] 162/258: clear share table after each test run

David Prévot taffit at moszumanska.debian.org
Sat Oct 11 17:22:32 UTC 2014


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

taffit pushed a commit to branch master
in repository owncloud.

commit e25593db4ef9d054d1fbbc306589945c09e6bef7
Author: Bjoern Schiessle <schiessle at owncloud.com>
Date:   Mon Sep 22 18:13:40 2014 +0200

    clear share table after each test run
---
 apps/files_sharing/tests/base.php | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/apps/files_sharing/tests/base.php b/apps/files_sharing/tests/base.php
index 60159d8..738ba34 100644
--- a/apps/files_sharing/tests/base.php
+++ b/apps/files_sharing/tests/base.php
@@ -92,6 +92,9 @@ abstract class Test_Files_Sharing_Base extends \PHPUnit_Framework_TestCase {
 		} else {
 			\OC_App::disable('files_encryption');
 		}
+
+		$query = \OCP\DB::prepare('DELETE FROM `*PREFIX*share`');
+		$query->execute();
 	}
 
 	public static function tearDownAfterClass() {

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