]> source.dussan.org Git - nextcloud-server.git/commitdiff
Detect that the done flag was not set after repair fail
authorVincent Petry <pvince81@owncloud.com>
Fri, 27 Feb 2015 12:16:38 +0000 (13:16 +0100)
committerVincent Petry <pvince81@owncloud.com>
Fri, 27 Feb 2015 12:16:38 +0000 (13:16 +0100)
tests/lib/repair/repairlegacystorage.php

index 24f2dbe13c0c6551d531781d0aacd597a6011c3c..6d14a045c0cdadadab012605084b17997af15a8f 100644 (file)
@@ -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'));
        }
 
        /**