diff options
author | Alexander <iam.asm89@gmail.com> | 2012-07-15 17:26:18 +0200 |
---|---|---|
committer | Alexander <iam.asm89@gmail.com> | 2013-01-07 20:58:58 +0100 |
commit | 7f5659fa1622474a60de0578f0c7014b22746da2 (patch) | |
tree | 3fe8ddba859fe93176f1717fa4e05a080276e4b3 /Tests/Core/Authentication/AuthenticationProviderManagerTest.php | |
parent | 236974f019efbe80e96388dc30f881add50599b6 (diff) | |
download | symfony-security-7f5659fa1622474a60de0578f0c7014b22746da2.zip symfony-security-7f5659fa1622474a60de0578f0c7014b22746da2.tar.gz symfony-security-7f5659fa1622474a60de0578f0c7014b22746da2.tar.bz2 |
[Security] Removed `get/setExtraInformation`, added `get/set(Token|User)`
Diffstat (limited to 'Tests/Core/Authentication/AuthenticationProviderManagerTest.php')
-rw-r--r-- | Tests/Core/Authentication/AuthenticationProviderManagerTest.php | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/Tests/Core/Authentication/AuthenticationProviderManagerTest.php b/Tests/Core/Authentication/AuthenticationProviderManagerTest.php index c57967b..12eb568 100644 --- a/Tests/Core/Authentication/AuthenticationProviderManagerTest.php +++ b/Tests/Core/Authentication/AuthenticationProviderManagerTest.php @@ -37,7 +37,7 @@ class AuthenticationProviderManagerTest extends \PHPUnit_Framework_TestCase $manager->authenticate($token = $this->getMock('Symfony\Component\Security\Core\Authentication\Token\TokenInterface')); $this->fail(); } catch (ProviderNotFoundException $e) { - $this->assertSame($token, $e->getExtraInformation()); + $this->assertSame($token, $e->getToken()); } } @@ -51,7 +51,7 @@ class AuthenticationProviderManagerTest extends \PHPUnit_Framework_TestCase $manager->authenticate($token = $this->getMock('Symfony\Component\Security\Core\Authentication\Token\TokenInterface')); $this->fail(); } catch (AccountStatusException $e) { - $this->assertSame($token, $e->getExtraInformation()); + $this->assertSame($token, $e->getToken()); } } @@ -65,7 +65,7 @@ class AuthenticationProviderManagerTest extends \PHPUnit_Framework_TestCase $manager->authenticate($token = $this->getMock('Symfony\Component\Security\Core\Authentication\Token\TokenInterface')); $this->fail(); } catch (AuthenticationException $e) { - $this->assertSame($token, $e->getExtraInformation()); + $this->assertSame($token, $e->getToken()); } } |