mirror of
https://github.com/elyby/accounts.git
synced 2025-05-31 14:11:46 +05:30
Реализован функционал получения информации об аккауте после выполнения oAuth авторизации
This commit is contained in:
@@ -7,7 +7,6 @@ use tests\codeception\common\fixtures\AccountFixture;
|
||||
use tests\codeception\common\fixtures\AccountSessionFixture;
|
||||
use tests\codeception\common\fixtures\EmailActivationFixture;
|
||||
use tests\codeception\common\fixtures\OauthClientFixture;
|
||||
use tests\codeception\common\fixtures\OauthScopeFixture;
|
||||
use tests\codeception\common\fixtures\OauthSessionFixture;
|
||||
use tests\codeception\common\fixtures\UsernameHistoryFixture;
|
||||
use yii\test\FixtureTrait;
|
||||
@@ -56,10 +55,6 @@ class FixtureHelper extends Module {
|
||||
'class' => OauthClientFixture::class,
|
||||
'dataFile' => '@tests/codeception/common/fixtures/data/oauth-clients.php',
|
||||
],
|
||||
'oauthScopes' => [
|
||||
'class' => OauthScopeFixture::class,
|
||||
'dataFile' => '@tests/codeception/common/fixtures/data/oauth-scopes.php',
|
||||
],
|
||||
'oauthSessions' => [
|
||||
'class' => OauthSessionFixture::class,
|
||||
'dataFile' => '@tests/codeception/common/fixtures/data/oauth-sessions.php',
|
||||
|
@@ -1,11 +0,0 @@
|
||||
<?php
|
||||
namespace tests\codeception\common\fixtures;
|
||||
|
||||
use common\models\OauthScope;
|
||||
use yii\test\ActiveFixture;
|
||||
|
||||
class OauthScopeFixture extends ActiveFixture {
|
||||
|
||||
public $modelClass = OauthScope::class;
|
||||
|
||||
}
|
@@ -1,12 +0,0 @@
|
||||
<?php
|
||||
return [
|
||||
'minecraft_server_session' => [
|
||||
'id' => 'minecraft_server_session',
|
||||
],
|
||||
'change_skin' => [
|
||||
'id' => 'change_skin',
|
||||
],
|
||||
'offline_access' => [
|
||||
'id' => 'offline_access',
|
||||
],
|
||||
];
|
Reference in New Issue
Block a user