This commit is contained in:
Pig Fang 2018-07-22 10:34:24 +08:00
parent 11b6078c57
commit 9700bf11e3

View File

@ -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();
}
}