fixed test
This commit is contained in:
parent
c5bdfc542d
commit
2d67c0653e
@ -177,7 +177,7 @@ EOTXT
|
||||
public function testThrowsExceptionOnNoConfiguredEncoders()
|
||||
{
|
||||
$application = new ConsoleApplication();
|
||||
$application->add(new UserPasswordEncoderCommand($this->createMock(EncoderFactoryInterface::class), array()));
|
||||
$application->add(new UserPasswordEncoderCommand($this->getMockBuilder(EncoderFactoryInterface::class)->getMock(), array()));
|
||||
|
||||
$passwordEncoderCommand = $application->find('security:encode-password');
|
||||
|
||||
|
Reference in New Issue
Block a user