From 9ec677dacde7c35b1713019b066a3d071e781b11 Mon Sep 17 00:00:00 2001 From: Pig Fang Date: Fri, 15 Mar 2019 18:05:37 +0800 Subject: [PATCH] Fix test --- tests/SkinlibControllerTest.php | 1 + 1 file changed, 1 insertion(+) diff --git a/tests/SkinlibControllerTest.php b/tests/SkinlibControllerTest.php index 23087f71..7875a3f1 100644 --- a/tests/SkinlibControllerTest.php +++ b/tests/SkinlibControllerTest.php @@ -812,6 +812,7 @@ class SkinlibControllerTest extends TestCase // Without returning score option(['return_score' => false]); + $uploader->refresh(); $uploader->score += $texture->size * option('private_score_per_storage'); $uploader->save(); $texture = factory(Texture::class)->create(['public' => 'false', 'uploader' => $uploader->uid]);