diff options
author | Thomas Müller <DeepDiver1975@users.noreply.github.com> | 2016-05-11 13:53:16 +0200 |
---|---|---|
committer | Thomas Müller <DeepDiver1975@users.noreply.github.com> | 2016-05-11 13:53:16 +0200 |
commit | 8729415880181275c9d4a05707273e13c9cf7e1b (patch) | |
tree | f06d28d412639b6fdafb265341319448b7c2b50a /tests | |
parent | efa545f8f0697896a538587bee644fc7c3699185 (diff) | |
parent | db16dc66447f15429561213d9825673f047a5202 (diff) | |
download | nextcloud-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.php | 2 |
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(); |