Skip to content

Commit

Permalink
Fix tests issue
Browse files Browse the repository at this point in the history
  • Loading branch information
nguereza-tony committed Sep 15, 2023
1 parent 07cf91c commit 471dff1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/Security/SecurityPolicyTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,7 @@ public function testCspNonceAndHashHeaders(): void

$this->assertArrayHasKey('Content-Security-Policy', $headers1);

$expected1 = "default-src 'self'; form-action 'self'; frame-ancestors 'self'; script-src 'sha256-a' 'sha512-ZmdnZw' 'nonce-nonce'; report-uri ";
$expected1 = "default-src 'self'; form-action 'self'; frame-ancestors 'self'; script-src 'sha512-ZmdnZw'; report-uri ";
$this->assertEquals($expected1, $headers1['Content-Security-Policy']);

$mock_base64_decode_to_false = true;
Expand Down

0 comments on commit 471dff1

Please sign in to comment.