]> source.dussan.org Git - nextcloud-server.git/commitdiff
Make the test useful
authorJoas Schilling <coding@schilljs.com>
Fri, 3 Mar 2017 11:01:38 +0000 (12:01 +0100)
committerJoas Schilling <coding@schilljs.com>
Fri, 3 Mar 2017 11:01:38 +0000 (12:01 +0100)
Signed-off-by: Joas Schilling <coding@schilljs.com>
tests/lib/Repair/NC12/UpdateLanguageCodesTest.php

index dfb5ea099f7c3d06e976bd7f99606925ba7182ca..4379d1ba589a629ef946213e370e87c3fcc4d368 100644 (file)
@@ -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')