Removed change skin scope from refresh code

This commit is contained in:
valik 2019-07-31 15:23:01 +03:00
parent e23c3aeaed
commit b2bd267eda
2 changed files with 2 additions and 2 deletions

View File

@ -31,7 +31,7 @@ class OauthSteps extends FunctionalTester {
}
public function getRefreshToken(array $permissions = []) {
$authCode = $this->getAuthCode(array_merge([S::OFFLINE_ACCESS, S::CHANGE_SKIN], $permissions));
$authCode = $this->getAuthCode(array_merge([S::OFFLINE_ACCESS], $permissions));
$response = $this->issueToken($authCode);
return $response['refresh_token'];

View File

@ -46,7 +46,7 @@ class RefreshTokenCest {
$refreshToken,
'ely',
'ZuM1vGchJz-9_UZ5HC3H3Z9Hg5PzdbkM',
[P::MINECRAFT_SERVER_SESSION, S::OFFLINE_ACCESS, S::CHANGE_SKIN]
[P::MINECRAFT_SERVER_SESSION, S::OFFLINE_ACCESS]
));
$this->canSeeRefreshTokenSuccess($I);
}