We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7bc6eaa commit bf2b64eCopy full SHA for bf2b64e
tests/ConvertKitAPIOAuthTest.php
@@ -401,7 +401,7 @@ public function testRefreshToken()
401
}
402
403
/**
404
- * Test that a ServerException is thrown when an invalid refresh token is supplied
+ * Test that a ClientException is thrown when an invalid refresh token is supplied
405
* when refreshing an access token.
406
*
407
* @since 2.0.0
@@ -410,7 +410,7 @@ public function testRefreshToken()
410
*/
411
public function testRefreshTokenWithInvalidToken()
412
{
413
- $this->expectException(ServerException::class);
+ $this->expectException(ClientException::class);
414
$api = new ConvertKit_API(
415
clientID: $_ENV['CONVERTKIT_OAUTH_CLIENT_ID'],
416
clientSecret: $_ENV['CONVERTKIT_OAUTH_CLIENT_SECRET']
0 commit comments