This commit is contained in:
Pig Fang 2019-03-16 17:45:18 +08:00
parent ec78b7452a
commit 62f545531d

View File

@ -309,7 +309,7 @@ class TextureControllerTest extends TestCase
Storage::disk('textures')->putFileAs( Storage::disk('textures')->putFileAs(
'.', '.',
UploadedFile::fake()->image('avatar.png', 64, 64), UploadedFile::fake()->image('avatar.png', 64, 64),
$texture->hash, $texture->hash
); );
$this->get("/avatar/player/20/{$player->name}.png") $this->get("/avatar/player/20/{$player->name}.png")
->assertSuccessful(); ->assertSuccessful();