From 5cb11ca6427855f52b822d2a786e54daddc62fc9 Mon Sep 17 00:00:00 2001 From: "John Molakvoæ (skjnldsv)" Date: Thu, 14 Nov 2019 08:05:44 +0100 Subject: Fix tests MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: John Molakvoæ (skjnldsv) Signed-off-by: npmbuildbot[bot] --- apps/files_sharing/tests/TestCase.php | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'apps/files_sharing/tests') diff --git a/apps/files_sharing/tests/TestCase.php b/apps/files_sharing/tests/TestCase.php index ce5ceb1f642..cc207429e7b 100644 --- a/apps/files_sharing/tests/TestCase.php +++ b/apps/files_sharing/tests/TestCase.php @@ -71,9 +71,8 @@ abstract class TestCase extends \Test\TestCase { public static function setUpBeforeClass(): void { parent::setUpBeforeClass(); - $application = new Application(); - $application->registerMountProviders(); - + new Application(); + // reset backend \OC_User::clearBackends(); \OC::$server->getGroupManager()->clearBackends(); -- cgit v1.2.3