mirror of
https://github.com/elyby/accounts.git
synced 2024-12-29 00:20:22 +05:30
Исправлен тест для authserver формы авторизации
This commit is contained in:
parent
9371fc32ca
commit
ee19df2623
@ -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 */
|
||||||
|
Loading…
Reference in New Issue
Block a user