mirror of
https://github.com/nextcloud/server.git
synced 2026-04-28 01:28:08 -04:00
Merge pull request #21774 from owncloud/test-autoload-encryption
always allow autoloading encryption in unit test
This commit is contained in:
commit
7ba90eda87
1 changed files with 3 additions and 0 deletions
|
|
@ -90,6 +90,9 @@ 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'));
|
||||
|
||||
$migration = $this->getMockBuilder('\\OCA\\Encryption\\Migration')
|
||||
->disableOriginalConstructor()->getMock();
|
||||
$this->encryptionController
|
||||
|
|
|
|||
Loading…
Reference in a new issue