[Pkg-owncloud-commits] [owncloud] 60/118: Detect that the done flag was not set after repair fail

David Prévot taffit at moszumanska.debian.org
Fri Mar 27 22:13:12 UTC 2015


This is an automated email from the git hooks/post-receive script.

taffit pushed a commit to branch stable8
in repository owncloud.

commit 6843f1690f6f82c41537edfb25f6063901cf9012
Author: Vincent Petry <pvince81 at owncloud.com>
Date:   Fri Feb 27 13:16:38 2015 +0100

    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 24f2dbe..6d14a04 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'));
 	}
 
 	/**

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-owncloud/owncloud.git



More information about the Pkg-owncloud-commits mailing list