aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRoeland Jago Douma <roeland@famdouma.nl>2016-10-13 13:14:05 +0200
committerRoeland Jago Douma <roeland@famdouma.nl>2016-10-13 19:40:44 +0200
commit6c5f7d586e6bad7671587c61dbe3a260d098b57f (patch)
tree1abcf8ca6d1350904e5235b379530d2fd12913a4
parent77272ea52df92a0bc5fcbaacc1d166dc6eb33811 (diff)
downloadnextcloud-server-6c5f7d586e6bad7671587c61dbe3a260d098b57f.tar.gz
nextcloud-server-6c5f7d586e6bad7671587c61dbe3a260d098b57f.zip
Fix migration tests
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
-rw-r--r--apps/encryption/tests/MigrationTest.php4
1 files changed, 4 insertions, 0 deletions
diff --git a/apps/encryption/tests/MigrationTest.php b/apps/encryption/tests/MigrationTest.php
index 868a1ad3922..595d7f12067 100644
--- a/apps/encryption/tests/MigrationTest.php
+++ b/apps/encryption/tests/MigrationTest.php
@@ -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 */