Skip to content

Commit

Permalink
fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
nicolas-grekas committed Aug 25, 2020
1 parent 0256511 commit 08882d1
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions tests/FlexTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -85,8 +85,6 @@ public function testPostInstall()
$this->assertSame(
<<<EOF
Run composer recipes at any time to see the status of your Symfony recipes.
Symfony operations: 1 recipe ()
- Configuring dummy/dummy (>=1.0): From github.com/symfony/recipes:master
Expand Down Expand Up @@ -257,7 +255,7 @@ private function mockDownloader(array $recipes = []): Downloader
$downloader = $this->getMockBuilder(Downloader::class)->disableOriginalConstructor()->getMock();

$downloader->expects($this->once())->method('getRecipes')->willReturn($recipes);
$downloader->expects($this->exactly(2))->method('isEnabled')->willReturn(true);
$downloader->expects($this->any())->method('isEnabled')->willReturn(true);

return $downloader;
}
Expand Down

0 comments on commit 08882d1

Please sign in to comment.