]> source.dussan.org Git - nextcloud-server.git/commitdiff
Fix migration tests 1734/head
authorRoeland Jago Douma <roeland@famdouma.nl>
Thu, 13 Oct 2016 11:14:05 +0000 (13:14 +0200)
committerRoeland Jago Douma <roeland@famdouma.nl>
Thu, 13 Oct 2016 17:40:44 +0000 (19:40 +0200)
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
apps/encryption/tests/MigrationTest.php

index 868a1ad3922a0655200a205a43532dee18ecf24c..595d7f12067b87f8037e8bff2eb2387db4a6aea3 100644 (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 */