mirror of
https://github.com/elyby/accounts.git
synced 2025-05-31 14:11:46 +05:30
Implemented account deletion. Not all cases covered with tests [skip ci]
This commit is contained in:
@@ -195,4 +195,15 @@ class AuthCodeCest {
|
||||
$I->canSeeResponseJsonMatchesJsonPath('$.redirectUri');
|
||||
}
|
||||
|
||||
public function finalizeByAccountMarkedForDeletion(FunctionalTester $I) {
|
||||
$I->amAuthenticated('DeletedAccount');
|
||||
$I->sendPOST('/api/oauth2/v1/complete?' . http_build_query([
|
||||
'client_id' => 'ely',
|
||||
'redirect_uri' => 'http://ely.by',
|
||||
'response_type' => 'code',
|
||||
'scope' => 'minecraft_server_session',
|
||||
]), ['accept' => true]);
|
||||
$I->canSeeResponseCodeIs(403);
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user