Permalink
Browse files

Merge eecac09 into a887c33

  • Loading branch information...
carusogabriel committed Dec 6, 2017
2 parents a887c33 + eecac09 commit 75a4ba5c9c1dba2033f3d658d111060de8c039ea
Showing with 3 additions and 3 deletions.
  1. +2 −2 test/src/Provider/AbstractProviderTest.php
  2. +1 −1 test/src/Token/AccessTokenTest.php
@@ -653,7 +653,7 @@ public function testDefaultPrepareAccessTokenResponse()
$result = ['user_id' => uniqid()];
$newResult = $provider->prepareAccessTokenResponse($result);
$this->assertTrue(isset($newResult['resource_owner_id']));
$this->assertArrayHasKey('resource_owner_id', $newResult);
$this->assertEquals($result['user_id'], $newResult['resource_owner_id']);
}
@@ -666,7 +666,7 @@ public function testPrepareAccessTokenResponseWithDotNotation()
$result = ['user' => ['id' => uniqid()]];
$newResult = $provider->prepareAccessTokenResponse($result);
$this->assertTrue(isset($newResult['resource_owner_id']));
$this->assertArrayHasKey('resource_owner_id', $newResult);
$this->assertEquals($result['user']['id'], $newResult['resource_owner_id']);
}
@@ -156,7 +156,7 @@ public function testValues()
$values = $token->getValues();
$this->assertTrue(is_array($values));
$this->assertInternalType('array', $values);
$this->assertArrayHasKey('custom_thing', $values);
$this->assertSame($options['custom_thing'], $values['custom_thing']);
}

0 comments on commit 75a4ba5

Please sign in to comment.