From 9700bf11e3807f83b4c1e915eb9d3ff6ac17278f Mon Sep 17 00:00:00 2001 From: Pig Fang Date: Sun, 22 Jul 2018 10:34:24 +0800 Subject: [PATCH] Fix test --- tests/TextureControllerTest.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/TextureControllerTest.php b/tests/TextureControllerTest.php index afd2be31..0b509435 100644 --- a/tests/TextureControllerTest.php +++ b/tests/TextureControllerTest.php @@ -264,7 +264,7 @@ class TextureControllerTest extends TestCase $this->get("/raw/{$steve->tid}.png")->assertNotFound(); // Disallow downloading texture directly - config(['allow_downloading_texture' => false]); + option(['allow_downloading_texture' => false]); $this->get("/raw/{$steve->tid}.png")->assertNotFound(); } }