mirror of
https://github.com/elyby/accounts.git
synced 2025-05-31 14:11:46 +05:30
Генерируемые AccessTokens заменены на UUID значения
This commit is contained in:
@ -17,7 +17,7 @@ class OauthSteps extends \tests\codeception\api\FunctionalTester {
|
||||
], ['accept' => true]);
|
||||
$this->canSeeResponseJsonMatchesJsonPath('$.redirectUri');
|
||||
$response = json_decode($this->grabResponse(), true);
|
||||
preg_match('/code=(\w+)/', $response['redirectUri'], $matches);
|
||||
preg_match('/code=([\w-]+)/', $response['redirectUri'], $matches);
|
||||
|
||||
return $matches[1];
|
||||
}
|
||||
|
Reference in New Issue
Block a user