File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -401,7 +401,7 @@ public function testRefreshToken()
401401 }
402402
403403 /**
404- * Test that a ServerException is thrown when an invalid refresh token is supplied
404+ * Test that a ClientException is thrown when an invalid refresh token is supplied
405405 * when refreshing an access token.
406406 *
407407 * @since 2.0.0
@@ -410,7 +410,7 @@ public function testRefreshToken()
410410 */
411411 public function testRefreshTokenWithInvalidToken ()
412412 {
413- $ this ->expectException (ServerException ::class);
413+ $ this ->expectException (ClientException ::class);
414414 $ api = new ConvertKit_API (
415415 clientID: $ _ENV ['CONVERTKIT_OAUTH_CLIENT_ID ' ],
416416 clientSecret: $ _ENV ['CONVERTKIT_OAUTH_CLIENT_SECRET ' ]
Original file line number Diff line number Diff line change @@ -1408,7 +1408,7 @@ public function testGetSequenceSubscriptionsPagination()
14081408
14091409 // Assert has_previous_page and has_next_page are correct.
14101410 $ this ->assertTrue ($ result ->pagination ->has_previous_page );
1411- $ this ->assertFalse ($ result ->pagination ->has_next_page );
1411+ $ this ->assertTrue ($ result ->pagination ->has_next_page );
14121412
14131413 // Use pagination to fetch previous page.
14141414 $ result = $ this ->api ->get_sequence_subscriptions (
You can’t perform that action at this time.
0 commit comments