mirror of
https://github.com/elyby/accounts.git
synced 2025-05-31 14:11:46 +05:30
Реализован функционал получения информации об аккауте после выполнения oAuth авторизации
This commit is contained in:
@@ -1,9 +1,9 @@
|
||||
<?php
|
||||
namespace tests\codeception\api;
|
||||
|
||||
use common\models\OauthScope as S;
|
||||
use tests\codeception\api\_pages\OauthRoute;
|
||||
use tests\codeception\api\functional\_steps\OauthSteps;
|
||||
use Yii;
|
||||
|
||||
class OauthAccessTokenCest {
|
||||
|
||||
@@ -55,7 +55,7 @@ class OauthAccessTokenCest {
|
||||
}
|
||||
|
||||
public function testIssueTokenWithRefreshToken(OauthSteps $I) {
|
||||
$authCode = $I->getAuthCode(false);
|
||||
$authCode = $I->getAuthCode([S::OFFLINE_ACCESS]);
|
||||
$this->route->issueToken($this->buildParams(
|
||||
$authCode,
|
||||
'ely',
|
||||
|
Reference in New Issue
Block a user