Skip to content

Commit

Permalink
testing should be false?
Browse files Browse the repository at this point in the history
  • Loading branch information
Firesphere authored Jun 22, 2023
1 parent e049a4b commit fbf39e0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Extensions/ControllerCSPExtension.php
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ public static function getInlineCSS()
*/
public function onBeforeInit()
{
if (!self::$isTesting || !DB::is_active() || !ClassInfo::hasTable('Member') || Director::is_cli()) {
if (self::$isTesting || !DB::is_active() || !ClassInfo::hasTable('Member') || Director::is_cli()) {
return;
}
/** @var ContentController $owner */
Expand Down

0 comments on commit fbf39e0

Please sign in to comment.