From 78f6c6c286c3f7314401af440e92c6c2bd84a786 Mon Sep 17 00:00:00 2001 From: Pig Fang Date: Fri, 5 Jun 2020 23:42:12 +0800 Subject: [PATCH] clean up --- app/Events/HashingFile.php | 20 ------------------- .../ControllersTest/SkinlibControllerTest.php | 2 +- 2 files changed, 1 insertion(+), 21 deletions(-) delete mode 100644 app/Events/HashingFile.php diff --git a/app/Events/HashingFile.php b/app/Events/HashingFile.php deleted file mode 100644 index 7dc6e0a3..00000000 --- a/app/Events/HashingFile.php +++ /dev/null @@ -1,20 +0,0 @@ -file = $file; - } -} diff --git a/tests/HttpTest/ControllersTest/SkinlibControllerTest.php b/tests/HttpTest/ControllersTest/SkinlibControllerTest.php index 0297ba94..bf411075 100644 --- a/tests/HttpTest/ControllersTest/SkinlibControllerTest.php +++ b/tests/HttpTest/ControllersTest/SkinlibControllerTest.php @@ -351,7 +351,7 @@ class SkinlibControllerTest extends TestCase $this->actingAs($user) ->postJson(route('texture.upload'), [ 'name' => 'texture', - 'public' => true, + 'public' => '1', 'type' => 'steve', 'file' => $upload, ])