diff options
author | Vincent Petry <pvince81@owncloud.com> | 2015-02-27 13:16:38 +0100 |
---|---|---|
committer | Vincent Petry <pvince81@owncloud.com> | 2015-02-27 13:16:38 +0100 |
commit | 32c9139ac22788d9020ff964de5cb8f014a73702 (patch) | |
tree | 291eeeaa11599945d15578bf14cbfdd5955443f9 /tests/lib/repair | |
parent | 22bc37cb82368fba912a9e5a5ef0e87017d04b1e (diff) | |
download | nextcloud-server-32c9139ac22788d9020ff964de5cb8f014a73702.tar.gz nextcloud-server-32c9139ac22788d9020ff964de5cb8f014a73702.zip |
Detect that the done flag was not set after repair fail
Diffstat (limited to 'tests/lib/repair')
-rw-r--r-- | tests/lib/repair/repairlegacystorage.php | 4 |
1 files 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')); } /** |