mirror of
https://github.com/elyby/accounts.git
synced 2025-05-31 14:11:46 +05:30
Исправлен тест для authserver формы авторизации
This commit is contained in:
@@ -104,7 +104,7 @@ class AuthenticationFormTest extends DbTestCase {
|
|||||||
public function testCreateMinecraftAccessTokenWithExistsClientId() {
|
public function testCreateMinecraftAccessTokenWithExistsClientId() {
|
||||||
$authForm = new AuthenticationForm();
|
$authForm = new AuthenticationForm();
|
||||||
$fixturesCount = count($this->minecraftAccessKeys->data);
|
$fixturesCount = count($this->minecraftAccessKeys->data);
|
||||||
$authForm->clientToken = $this->minecraftAccessKeys[0]['client_token'];
|
$authForm->clientToken = $this->minecraftAccessKeys['admin-token']['client_token'];
|
||||||
/** @var Account $account */
|
/** @var Account $account */
|
||||||
$account = $this->accounts->getModel('admin');
|
$account = $this->accounts->getModel('admin');
|
||||||
/** @var MinecraftAccessKey $result */
|
/** @var MinecraftAccessKey $result */
|
||||||
|
Reference in New Issue
Block a user