Skip to content

Commit

Permalink
fixed PHPCS complaint on Travis
Browse files Browse the repository at this point in the history
  • Loading branch information
jankal committed Mar 14, 2017
1 parent a7ecabd commit a9bc692
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions tests/Console/Command/GenerateCommandExecuteTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,11 @@ public function testExecute()

$this->assertSame(
0, // success
MethodInvoker::callMethodOnObject($this->generateCommand, 'execute', [$inputMock, $outputMock])
MethodInvoker::callMethodOnObject(
$this->generateCommand,
'execute',
[$inputMock, $outputMock]
)
);

$this->assertFileExists(TEMP_DIR . '/Api/index.html');
Expand All @@ -64,7 +68,9 @@ public function testExecuteWithError()
$this->assertSame(
1, // failure
MethodInvoker::callMethodOnObject(
$this->generateCommand, 'execute', [$inputMock, $outputMock]
$this->generateCommand,
'execute',
[$inputMock, $outputMock]
)
);
}
Expand Down

0 comments on commit a9bc692

Please sign in to comment.