summaryrefslogtreecommitdiffstats
path: root/apps/files_sharing/tests
diff options
context:
space:
mode:
authorJohn Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>2019-11-14 08:05:44 +0100
committerJohn Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>2019-12-02 13:08:43 +0100
commit5cb11ca6427855f52b822d2a786e54daddc62fc9 (patch)
tree17b137c6c222a6954932a7d603de481e554b25f8 /apps/files_sharing/tests
parent0bf6fcd6cd0ef87fc8e41f34fbc939a5f2bd9a7d (diff)
downloadnextcloud-server-5cb11ca6427855f52b822d2a786e54daddc62fc9.tar.gz
nextcloud-server-5cb11ca6427855f52b822d2a786e54daddc62fc9.zip
Fix tests
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com> Signed-off-by: npmbuildbot[bot] <npmbuildbot[bot]@users.noreply.github.com>
Diffstat (limited to 'apps/files_sharing/tests')
-rw-r--r--apps/files_sharing/tests/TestCase.php5
1 files changed, 2 insertions, 3 deletions
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();