Skip to content

Commit

Permalink
Fix test
Browse files Browse the repository at this point in the history
  • Loading branch information
discordier committed Mar 2, 2022
1 parent ae412d8 commit 21b13de
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion tests/CyberSpectrumI18NBundleTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,10 @@ public function testBuild(): void
$container
->expects($this->once())
->method('addCompilerPass')
->willReturnCallback(function () use (&$arguments) {
->willReturnCallback(function () use (&$arguments, $container): ContainerBuilder {
$arguments[] = func_get_args();

return $container;
});

$bundle = new CyberSpectrumI18NBundle();
Expand Down

0 comments on commit 21b13de

Please sign in to comment.