From: Tim Otten Date: Sat, 26 Feb 2022 00:54:28 +0000 (-0800) Subject: AllFlowsTest - Make `testJwtMiddleware()` less sensitive to interactions with other... X-Git-Url: https://vcs.fsf.org/?a=commitdiff_plain;h=4570ea17d7f68328a992a4a1b4502ecefec818f4;p=civicrm-core.git AllFlowsTest - Make `testJwtMiddleware()` less sensitive to interactions with other tests --- diff --git a/ext/authx/tests/phpunit/Civi/Authx/AllFlowsTest.php b/ext/authx/tests/phpunit/Civi/Authx/AllFlowsTest.php index 026a05aada..b446671e1f 100644 --- a/ext/authx/tests/phpunit/Civi/Authx/AllFlowsTest.php +++ b/ext/authx/tests/phpunit/Civi/Authx/AllFlowsTest.php @@ -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'],