Content filtering: Updated config and readme attribution

This commit is contained in:
Dan Brown
2026-02-16 13:46:45 +00:00
parent 50e8501027
commit 3fa1174e7a
4 changed files with 29 additions and 13 deletions

View File

@@ -177,6 +177,13 @@ class ConfigTest extends TestCase
});
}
public function test_content_filtering_can_be_disabled()
{
$this->runWithEnv(['APP_CONTENT_FILTERING' => "", 'ALLOW_CONTENT_SCRIPTS' => null], function () {
$this->assertEquals('', config('app.content_filtering'));
});
}
public function test_allow_content_scripts_disables_content_filtering()
{
$this->runWithEnv(['APP_CONTENT_FILTERING' => null, 'ALLOW_CONTENT_SCRIPTS' => 'true'], function () {