Skip to content

Commit b97c139

Browse files
committed
[SecurityBundle] Fix broken mock
Signed-off-by: Alexander M. Turek <me@derrabus.de>
1 parent bcc89ca commit b97c139

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

Tests/DependencyInjection/MainConfigurationTest.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -122,6 +122,7 @@ public function testFirewalls()
122122
{
123123
$factory = $this->createMock(AuthenticatorFactoryInterface::class);
124124
$factory->expects($this->once())->method('addConfiguration');
125+
$factory->method('getKey')->willReturn('key');
125126

126127
$configuration = new MainConfiguration(['stub' => $factory], []);
127128
$configuration->getConfigTreeBuilder();

0 commit comments

Comments
 (0)