aboutsummaryrefslogtreecommitdiffstats
path: root/tests/lib/Security/CSP/AddContentSecurityPolicyEventTest.php
diff options
context:
space:
mode:
Diffstat (limited to 'tests/lib/Security/CSP/AddContentSecurityPolicyEventTest.php')
-rw-r--r--tests/lib/Security/CSP/AddContentSecurityPolicyEventTest.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/lib/Security/CSP/AddContentSecurityPolicyEventTest.php b/tests/lib/Security/CSP/AddContentSecurityPolicyEventTest.php
index edc0c613655..39dd7a95890 100644
--- a/tests/lib/Security/CSP/AddContentSecurityPolicyEventTest.php
+++ b/tests/lib/Security/CSP/AddContentSecurityPolicyEventTest.php
@@ -15,7 +15,7 @@ use OCP\Security\CSP\AddContentSecurityPolicyEvent;
use Test\TestCase;
class AddContentSecurityPolicyEventTest extends TestCase {
- public function testAddEvent() {
+ public function testAddEvent(): void {
$cspManager = $this->createMock(ContentSecurityPolicyManager::class);
$policy = $this->createMock(ContentSecurityPolicy::class);
$event = new AddContentSecurityPolicyEvent($cspManager);