Skip to content

Commit

Permalink
Fix mock
Browse files Browse the repository at this point in the history
  • Loading branch information
dvdoug committed Nov 6, 2021
1 parent 6881f31 commit bf1dc76
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/ExtensionTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -180,7 +180,7 @@ public function testContainerBuildsExcludingCoveredFiles(): void
public function testContainerBuildsWithCoverageSkipped(): void
{
$input = $this->createMock(InputInterface::class);
$input->method('hasParameterOption')->willReturn('--no-coverage');
$input->method('hasParameterOption')->with($this->equalTo('--no-coverage'))->willReturn(true);
$output = $this->createMock(OutputInterface::class);

$container = new ContainerBuilder();
Expand Down

0 comments on commit bf1dc76

Please sign in to comment.