diff --git a/tests/modules/consent/lib/Auth/Process/ConsentTest.php b/tests/modules/consent/lib/Auth/Process/ConsentTest.php
index 1f0b07eab339f117204d3145950affe155f50a58..8916ed440bd63f833bc3ab9aa6ea827704a09250 100644
--- a/tests/modules/consent/lib/Auth/Process/ConsentTest.php
+++ b/tests/modules/consent/lib/Auth/Process/ConsentTest.php
@@ -214,7 +214,7 @@ class ConsentTest extends TestCase
             $config['showNoConsentAboutService']
         );
 
-        $deprecated = $reflection->newInstance(['noconsentattributes' => $config['attributes.exclude'],], null);
+        $deprecated = $reflection->newInstance(['noconsentattributes' => $config['attributes.exclude']], null);
         $this->assertEquals($instanceVars['noconsentattributes']->getValue($deprecated), $config['attributes.exclude']);
     }
 }