Fix migration tests

Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
This commit is contained in:
Roeland Jago Douma 2016-10-13 13:14:05 +02:00
parent 77272ea52d
commit 6c5f7d586e
No known key found for this signature in database
GPG key ID: 1E152838F164D13B

View file

@ -343,6 +343,10 @@ class MigrationTest extends \Test\TestCase {
unset($cache['files_encryption']);
$this->invokePrivate(\OC::$server->getAppConfig(), 'cache', [$cache]);
$cache = $this->invokePrivate($config, 'userCache');
unset($cache[self::TEST_ENCRYPTION_MIGRATION_USER1]);
$this->invokePrivate(\OC::$server->getAppConfig(), 'userCache', [$cache]);
// delete default values set by the encryption app during initialization
/** @var \OCP\IDBConnection $connection */