]> source.dussan.org Git - nextcloud-server.git/commitdiff
Fixed expected warning count on repair fail
authorVincent Petry <pvince81@owncloud.com>
Fri, 27 Feb 2015 12:32:46 +0000 (13:32 +0100)
committerVincent Petry <pvince81@owncloud.com>
Fri, 27 Feb 2015 12:32:46 +0000 (13:32 +0100)
tests/lib/repair/repairlegacystorage.php

index 6d14a045c0cdadadab012605084b17997af15a8f..4167ddff85a1bbcbfdfa69373e8edab33ee2b4b7 100644 (file)
@@ -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