diff --git a/tests/lib/Repair/NC12/UpdateLanguageCodesTest.php b/tests/lib/Repair/NC12/UpdateLanguageCodesTest.php
index dfb5ea099f7c3d06e976bd7f99606925ba7182ca..4379d1ba589a629ef946213e370e87c3fcc4d368 100644
--- a/tests/lib/Repair/NC12/UpdateLanguageCodesTest.php
+++ b/tests/lib/Repair/NC12/UpdateLanguageCodesTest.php
@@ -160,6 +160,8 @@ class UpdateLanguageCodesTest extends TestCase {
 	public function testSecondRun() {
 		/** @var IOutput|\PHPUnit_Framework_MockObject_MockObject $outputMock */
 		$outputMock = $this->createMock(IOutput::class);
+		$outputMock->expects($this->never())
+			->method('info');
 
 		$this->config->expects($this->once())
 			->method('getSystemValue')