From ee19df2623c7b9a7a541c302ed287a91c4497305 Mon Sep 17 00:00:00 2001 From: ErickSkrauch Date: Thu, 1 Sep 2016 13:07:20 +0300 Subject: [PATCH] =?UTF-8?q?=D0=98=D1=81=D0=BF=D1=80=D0=B0=D0=B2=D0=BB?= =?UTF-8?q?=D0=B5=D0=BD=20=D1=82=D0=B5=D1=81=D1=82=20=D0=B4=D0=BB=D1=8F=20?= =?UTF-8?q?authserver=20=D1=84=D0=BE=D1=80=D0=BC=D1=8B=20=D0=B0=D0=B2?= =?UTF-8?q?=D1=82=D0=BE=D1=80=D0=B8=D0=B7=D0=B0=D1=86=D0=B8=D0=B8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../unit/modules/authserver/models/AuthenticationFormTest.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/codeception/api/unit/modules/authserver/models/AuthenticationFormTest.php b/tests/codeception/api/unit/modules/authserver/models/AuthenticationFormTest.php index 39b9cfa..773d95f 100644 --- a/tests/codeception/api/unit/modules/authserver/models/AuthenticationFormTest.php +++ b/tests/codeception/api/unit/modules/authserver/models/AuthenticationFormTest.php @@ -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 */