Исправлен тест для authserver формы авторизации

This commit is contained in:
ErickSkrauch 2016-09-01 13:07:20 +03:00
parent 9371fc32ca
commit ee19df2623

View File

@ -104,7 +104,7 @@ class AuthenticationFormTest extends DbTestCase {
public function testCreateMinecraftAccessTokenWithExistsClientId() {
$authForm = new AuthenticationForm();
$fixturesCount = count($this->minecraftAccessKeys->data);
$authForm->clientToken = $this->minecraftAccessKeys[0]['client_token'];
$authForm->clientToken = $this->minecraftAccessKeys['admin-token']['client_token'];
/** @var Account $account */
$account = $this->accounts->getModel('admin');
/** @var MinecraftAccessKey $result */