AllFlowsTest - Make `testJwtMiddleware()` less sensitive to interactions with other...
authorTim Otten <totten@civicrm.org>
Sat, 26 Feb 2022 00:54:28 +0000 (16:54 -0800)
committerTim Otten <totten@civicrm.org>
Mon, 25 Apr 2022 22:21:55 +0000 (15:21 -0700)
ext/authx/tests/phpunit/Civi/Authx/AllFlowsTest.php

index 026a05aada81885ce6b42aa23bf478d05c606eac..b446671e1f37891ed4e9dac94d87d6688557480b 100644 (file)
@@ -482,6 +482,8 @@ class AllFlowsTest extends \PHPUnit\Framework\TestCase implements EndToEndInterf
    * @throws \GuzzleHttp\Exception\GuzzleException
    */
   public function testJwtMiddleware() {
+    \Civi::settings()->revert("authx_param_cred");
+
     // HTTP GET with a specific user. Choose flow automatically.
     $response = $this->createGuzzle()->get('civicrm/authx/id', [
       'authx_user' => $GLOBALS['_CV']['DEMO_USER'],