register app into nextcloud service container we can run tests

This commit is contained in:
thrillfall 2023-02-24 16:02:07 +01:00
parent 4906c0f229
commit 4999b96456
1 changed files with 1 additions and 1 deletions

View File

@ -11,6 +11,6 @@ require_once __DIR__ . '/Helper/Writer/TestWriter.php';
OC::$loader->addValidRoot(OC::$SERVERROOT . '/tests'); OC::$loader->addValidRoot(OC::$SERVERROOT . '/tests');
// Fix for "Autoload path not allowed: .../gpoddersync/tests/testcase.php" // Fix for "Autoload path not allowed: .../gpoddersync/tests/testcase.php"
OC_App::loadApp('gpoddersync'); OC_App::loadApp('nextcloud-gpodder');
OC_Hook::clear(); OC_Hook::clear();