From: Vincent Petry Date: Fri, 27 Feb 2015 12:32:46 +0000 (+0100) Subject: Fixed expected warning count on repair fail X-Git-Tag: v8.1.0alpha1~311^2 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=1750e7b76d9e625bb94c5599bb6fa713a3441bfc;p=nextcloud-server.git Fixed expected warning count on repair fail --- diff --git a/tests/lib/repair/repairlegacystorage.php b/tests/lib/repair/repairlegacystorage.php index 6d14a045c0c..4167ddff85a 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