From: Joas Schilling Date: Fri, 3 Mar 2017 11:01:38 +0000 (+0100) Subject: Make the test useful X-Git-Tag: v12.0.0beta1~478^2~1 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=342ee51dad64652720f86edf92f10f5a9ac54bae;p=nextcloud-server.git Make the test useful Signed-off-by: Joas Schilling --- diff --git a/tests/lib/Repair/NC12/UpdateLanguageCodesTest.php b/tests/lib/Repair/NC12/UpdateLanguageCodesTest.php index dfb5ea099f7..4379d1ba589 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')