diff --git a/tests/Builders/ContentSecurityPolicyBuilderTest.php b/tests/Builders/ContentSecurityPolicyBuilderTest.php index 76b8f76..594ed1d 100644 --- a/tests/Builders/ContentSecurityPolicyBuilderTest.php +++ b/tests/Builders/ContentSecurityPolicyBuilderTest.php @@ -160,6 +160,17 @@ public function testSeldomUsedDirectives() 'report-to csp-report', (new ContentSecurityPolicyBuilder($config))->get() ); + + $config = [ + 'frame-ancestors' => [ + 'none' => true, + ], + ]; + + $this->assertSame( + "frame-ancestors 'none'", + (new ContentSecurityPolicyBuilder($config))->get() + ); } public function testSchemeAutoAppendColon()