From 1750e7b76d9e625bb94c5599bb6fa713a3441bfc Mon Sep 17 00:00:00 2001
From: Vincent Petry <pvince81@owncloud.com>
Date: Fri, 27 Feb 2015 13:32:46 +0100
Subject: [PATCH] Fixed expected warning count on repair fail

---
 tests/lib/repair/repairlegacystorage.php | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/tests/lib/repair/repairlegacystorage.php b/tests/lib/repair/repairlegacystorage.php
index 6d14a045c0..4167ddff85 100644
--- a/tests/lib/repair/repairlegacystorage.php
+++ b/tests/lib/repair/repairlegacystorage.php
@@ -191,7 +191,7 @@ class TestRepairLegacyStorages extends \Test\TestCase {
 
 		$this->repair->run();
 
-		$this->assertEquals(1, count($this->warnings));
+		$this->assertEquals(2, count($this->warnings));
 		$this->assertEquals('Could not repair legacy storage ', substr(current($this->warnings), 0, 32));
 
 		// storages left alone
-- 
GitLab