From 32c9139ac22788d9020ff964de5cb8f014a73702 Mon Sep 17 00:00:00 2001 From: Vincent Petry Date: Fri, 27 Feb 2015 13:16:38 +0100 Subject: Detect that the done flag was not set after repair fail --- tests/lib/repair/repairlegacystorage.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/lib/repair/repairlegacystorage.php b/tests/lib/repair/repairlegacystorage.php index 24f2dbe13c0..6d14a045c0c 100644 --- a/tests/lib/repair/repairlegacystorage.php +++ b/tests/lib/repair/repairlegacystorage.php @@ -198,8 +198,8 @@ class TestRepairLegacyStorages extends \Test\TestCase { $this->assertEquals($legacyStorageNumId, $this->getStorageId($this->legacyStorageId)); $this->assertEquals($newStorageNumId, $this->getStorageId($this->newStorageId)); - // set the done flag - $this->assertEquals('yes', $this->config->getAppValue('core', 'repairlegacystoragesdone')); + // do not set the done flag + $this->assertNotEquals('yes', $this->config->getAppValue('core', 'repairlegacystoragesdone')); } /** -- cgit v1.2.3