dev/core#2998 - Fix JWT cookie test in standalone
authorPatrick Figel <pfigel@greenpeace.org>
Sat, 2 Dec 2023 11:54:28 +0000 (11:54 +0000)
committerPatrick Figel <pfigel@greenpeace.org>
Sat, 2 Dec 2023 11:54:28 +0000 (11:54 +0000)
This fixes a test failure in JwtCredsTest with standalone due to session
cookies being sent.

ext/authx/tests/phpunit/Civi/Authx/AbstractFlowsTest.php

index 8286d3d75f4162ad3dc27199227d6fe5d8836e6d..63482574936d551c44ef5f896629d0c943689ac7 100644 (file)
@@ -379,6 +379,7 @@ class AbstractFlowsTest extends \PHPUnit\Framework\TestCase implements EndToEndI
     $quirks = [
       'Joomla' => ['sendsExcessCookies', 'authErrorShowsForm'],
       'WordPress' => ['sendsExcessCookies'],
+      'Standalone' => ['sendsExcessCookies'],
     ];
     return $quirks[CIVICRM_UF] ?? [];
   }