aboutsummaryrefslogtreecommitdiffstats
path: root/tests/lib/Security/FeaturePolicy/FeaturePolicyManagerTest.php
diff options
context:
space:
mode:
Diffstat (limited to 'tests/lib/Security/FeaturePolicy/FeaturePolicyManagerTest.php')
-rw-r--r--tests/lib/Security/FeaturePolicy/FeaturePolicyManagerTest.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/lib/Security/FeaturePolicy/FeaturePolicyManagerTest.php b/tests/lib/Security/FeaturePolicy/FeaturePolicyManagerTest.php
index 7110effb261..7386aa023a9 100644
--- a/tests/lib/Security/FeaturePolicy/FeaturePolicyManagerTest.php
+++ b/tests/lib/Security/FeaturePolicy/FeaturePolicyManagerTest.php
@@ -27,12 +27,12 @@ class FeaturePolicyManagerTest extends TestCase {
$this->manager = new FeaturePolicyManager($this->dispatcher);
}
- public function testAddDefaultPolicy() {
+ public function testAddDefaultPolicy(): void {
$this->manager->addDefaultPolicy(new FeaturePolicy());
$this->addToAssertionCount(1);
}
- public function testGetDefaultPolicyWithPoliciesViaEvent() {
+ public function testGetDefaultPolicyWithPoliciesViaEvent(): void {
$this->dispatcher->addListener(AddFeaturePolicyEvent::class, function (AddFeaturePolicyEvent $e) {
$policy = new FeaturePolicy();
$policy->addAllowedMicrophoneDomain('mydomain.com');