clear share table after each test run

This commit is contained in:
Bjoern Schiessle 2014-09-22 18:13:40 +02:00
parent 07d43df713
commit 5c7fe91041
1 changed files with 3 additions and 0 deletions

View File

@ -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() {