[Security] removed test that fail on PHP 5.3.3
This commit is contained in:
parent
61a9345e6f
commit
faccd25c0f
@ -52,10 +52,6 @@ class EncoderFactoryTest extends \PHPUnit_Framework_TestCase
|
||||
'Symfony\Component\Security\Core\User\UserInterface' => new MessageDigestPasswordEncoder('sha1'),
|
||||
));
|
||||
|
||||
$encoder = $factory->getEncoder('Symfony\Component\Security\Core\User\UserInterface');
|
||||
$expectedEncoder = new MessageDigestPasswordEncoder('sha1');
|
||||
$this->assertEquals($expectedEncoder->encodePassword('foo', ''), $encoder->encodePassword('foo', ''));
|
||||
|
||||
$encoder = $factory->getEncoder('Symfony\Component\Security\Tests\Core\Encoder\SomeChildUser');
|
||||
$expectedEncoder = new MessageDigestPasswordEncoder('sha1');
|
||||
$this->assertEquals($expectedEncoder->encodePassword('foo', ''), $encoder->encodePassword('foo', ''));
|
||||
|
Reference in New Issue
Block a user