Skip to content

Commit

Permalink
makes new tests for verifyIdToken php-53-array friendly
Browse files Browse the repository at this point in the history
  • Loading branch information
bshaffer committed Oct 16, 2015
1 parent 3ae19bb commit a25dc9d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/general/AuthTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -178,7 +178,7 @@ public function testVerifySignedJwtWithMultipleIssuers()
$id_token,
$certs,
"client_id",
['system.gserviceaccount.com', 'https://system.gserviceaccount.com']
array('system.gserviceaccount.com', 'https://system.gserviceaccount.com')
);
$this->assertEquals(self::USER_ID, $ticket->getUserId());
// Check that payload and envelope got filled in.
Expand All @@ -199,7 +199,7 @@ public function testVerifySignedJwtWithBadIssuer()
)
);

$issuers = ['system.gserviceaccount.com', 'https://system.gserviceaccount.com'];
$issuers = array('system.gserviceaccount.com', 'https://system.gserviceaccount.com');
$this->checkIdTokenFailure($id_token, 'Invalid issuer', $issuers[0]);
$this->checkIdTokenFailure($id_token, 'Invalid issuer', $issuers);
}
Expand Down

0 comments on commit a25dc9d

Please sign in to comment.