mirror of
https://github.com/elyby/accounts.git
synced 2026-10-20 12:48:07 +05:30
Исправлен JwtIdentityTest
This commit is contained in:
1 parent
6c52899583
commit
62782d3ced
1 file changed
-2
@@ -37,8 +37,6 @@ class JwtIdentityTest extends TestCase {
|
||||
*/
|
||||
public function testFindIdentityByAccessTokenWithExpiredToken() {
|
||||
$token = new Token();
|
||||
$token->addClaim(new Claim\Audience('http://localhost'));
|
||||
$token->addClaim(new Claim\Issuer('http://localhost'));
|
||||
$token->addClaim(new Claim\IssuedAt(1464593193));
|
||||
$token->addClaim(new Claim\Expiration(1464596793));
|
||||
$token->addClaim(new Claim\Subject('ely|' . $this->tester->grabFixture('accounts', 'admin')['id']));
|
||||
|
||||
Reference in new issue
Block a user