Detect that the done flag was not set after repair fail

This commit is contained in:
Vincent Petry 2015-02-27 13:16:38 +01:00
parent 22bc37cb82
commit 32c9139ac2

View 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'));
}
/**