Skip to content

Commit

Permalink
Fix migration tests
Browse files Browse the repository at this point in the history
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
  • Loading branch information
rullzer committed Oct 13, 2016
1 parent 77272ea commit 6c5f7d5
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions apps/encryption/tests/MigrationTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -343,6 +343,10 @@ private function prepareDB() {
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 */
Expand Down

0 comments on commit 6c5f7d5

Please sign in to comment.