aboutsummaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorThomas Müller <DeepDiver1975@users.noreply.github.com>2016-05-11 13:53:16 +0200
committerThomas Müller <DeepDiver1975@users.noreply.github.com>2016-05-11 13:53:16 +0200
commit8729415880181275c9d4a05707273e13c9cf7e1b (patch)
treef06d28d412639b6fdafb265341319448b7c2b50a /tests
parentefa545f8f0697896a538587bee644fc7c3699185 (diff)
parentdb16dc66447f15429561213d9825673f047a5202 (diff)
downloadnextcloud-server-8729415880181275c9d4a05707273e13c9cf7e1b.tar.gz
nextcloud-server-8729415880181275c9d4a05707273e13c9cf7e1b.zip
Merge pull request #24531 from owncloud/psr4-loading-for-install-and-commands
Correctly register PSR-4 autoloading before install.php and loading commands
Diffstat (limited to 'tests')
-rw-r--r--tests/settings/controller/EncryptionControllerTest.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/settings/controller/EncryptionControllerTest.php b/tests/settings/controller/EncryptionControllerTest.php
index a3bb4c45a27..565aaf29c9a 100644
--- a/tests/settings/controller/EncryptionControllerTest.php
+++ b/tests/settings/controller/EncryptionControllerTest.php
@@ -91,7 +91,7 @@ class EncryptionControllerTest extends TestCase {
public function testStartMigrationSuccessful() {
// we need to be able to autoload the class we're mocking
- \OC::$loader->addValidRoot(\OC_App::getAppPath('encryption'));
+ \OC_App::registerAutoloading('encryption', \OC_App::getAppPath('encryption'));
$migration = $this->getMockBuilder('\\OCA\\Encryption\\Migration')
->disableOriginalConstructor()->getMock();