Polish TextureControllerTest

See https://github.com/bs-community/blessing-skin-server/pull/8#discussion_r261825089
This commit is contained in:
Haowei Wen 2019-03-02 21:54:31 +08:00 committed by GitHub
parent 1ff8e631fe
commit 23deb5c46f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -80,8 +80,8 @@ class TextureControllerTest extends TestCase
->assertJson([
'username' => $player->player_name,
'skins' => [
'default' => $alex->hash,
'slim' => $alex->hash
'slim' => $alex->hash,
'default' => $alex->hash
],
'cape' => null
]);
@ -92,8 +92,8 @@ class TextureControllerTest extends TestCase
'player_name' => $player->player_name,
'model_preference' => ['slim'],
'skins' => [
'default' => $alex->hash,
'slim' => $alex->hash
'slim' => $alex->hash,
'default' => $alex->hash
],
'cape' => null
]);