Skip to content

Commit

Permalink
✅ Declare registerForAutoconfiguration in ContainerBuilder mock
Browse files Browse the repository at this point in the history
  • Loading branch information
homersimpsons committed Jan 6, 2024
1 parent ba7ed52 commit f157a0f
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion Tests/LiipImagineBundleTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -145,7 +145,11 @@ public function testAddLoaders(): void
*/
protected function createContainerBuilderMock()
{
return $this->createObjectMock(ContainerBuilder::class, [], false);
return $this->createObjectMock(ContainerBuilder::class, [
'getExtension',
'addCompilerPass',
'registerForAutoconfiguration',
], false);
}

/**
Expand Down

0 comments on commit f157a0f

Please sign in to comment.