From 342ee51dad64652720f86edf92f10f5a9ac54bae Mon Sep 17 00:00:00 2001 From: Joas Schilling Date: Fri, 3 Mar 2017 12:01:38 +0100 Subject: [PATCH] Make the test useful Signed-off-by: Joas Schilling --- tests/lib/Repair/NC12/UpdateLanguageCodesTest.php | 2 ++ 1 file changed, 2 insertions(+) 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') -- 2.39.5