setSettings(['app-custom-head' => '']); $resp = $this->get('/login'); $resp->assertSee('console.log("cat")'); } public function test_configured_content_does_not_show_on_settings_page() { $this->setSettings(['app-custom-head' => '']); $resp = $this->asAdmin()->get('/settings'); $resp->assertDontSee('console.log("cat")'); } public function test_divs_in_js_preserved_in_configured_content() { $this->setSettings(['app-custom-head' => '']); $resp = $this->get('/login'); $resp->assertSee('