]> source.dussan.org Git - nextcloud-server.git/commitdiff
clear share table after each test run
authorBjoern Schiessle <schiessle@owncloud.com>
Mon, 22 Sep 2014 16:13:40 +0000 (18:13 +0200)
committerBjoern Schiessle <schiessle@owncloud.com>
Wed, 24 Sep 2014 12:02:02 +0000 (14:02 +0200)
apps/files_sharing/tests/base.php

index 60159d84e7e6a2f2c1b78c9050bba3ad7c5791a6..738ba3493bac35b9498437667a8802d0c41173f8 100644 (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() {