diff --git a/tests/lib/repair/repairlegacystorage.php b/tests/lib/repair/repairlegacystorage.php
index 6d14a045c0cdadadab012605084b17997af15a8f..4167ddff85a1bbcbfdfa69373e8edab33ee2b4b7 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