Skip to content

Commit

Permalink
Fixed broken `\yiiunit\extensions\authclient\OpenIdConnectTest::testD…
Browse files Browse the repository at this point in the history
…iscoverConfigCache()` InvalidResponseException test.
  • Loading branch information
rhertogh committed Jul 12, 2023
1 parent 4175918 commit c0541f4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/OpenIdConnectTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ public function testDiscoverConfigCache()
$this->assertEquals($cachedConfigParams, $authClient->getConfigParams());

$authClient = new OpenIdConnect([
'issuerUrl' => 'https://invalid-url.com',
'issuerUrl' => 'https://yiiframework.com', // Should be a domain that returns an error for the /.well-known/openid-configuration endpoint
'id' => 'foo',
'cache' => $cache,
]);
Expand Down

0 comments on commit c0541f4

Please sign in to comment.