Skip to content
Merged
Show file tree
Hide file tree
Changes from 2 commits
Commits
Show all changes
29 commits
Select commit Hold shift + click to select a range
7b6f8a8
Update `convertkit.com` to `kit.com`
n7studios Sep 30, 2025
53afc2f
Add composer commands
n7studios Sep 30, 2025
d8cbe67
Revert composer commands
n7studios Sep 30, 2025
fbc73e2
Fix API Doc Generation
n7studios Sep 30, 2025
7bc6eaa
Fix Failing Tests
n7studios Sep 30, 2025
bf2b64e
Change ServerException to ClientException for refresh token with inva…
n7studios Sep 30, 2025
e33ebef
Merge remote-tracking branch 'origin/fix-tests' into update-kit-domain
n7studios Sep 30, 2025
b8500bb
Merge remote-tracking branch 'origin/fix-tests' into add-composer-com…
n7studios Sep 30, 2025
2505f9f
Merge remote-tracking branch 'origin/fix-tests' into fix-api-docs
n7studios Sep 30, 2025
c1ed992
Add Composer Commands
n7studios Sep 30, 2025
522723b
Add `get_subscriber_stats` method
n7studios Sep 30, 2025
511b40e
Update method URLs to new API docs
n7studios Sep 30, 2025
964bced
Add `get_broadcasts_stats` method
n7studios Sep 30, 2025
a93716a
Add `testGetBroadcastsStatsWithTotalCount` test
n7studios Sep 30, 2025
b7ab7f9
Add `get_broadcast_link_clicks` method
n7studios Sep 30, 2025
8480d84
Add `update_tag_name` method
n7studios Sep 30, 2025
7150507
Fix tests
n7studios Sep 30, 2025
4f088b7
Remove `include_total_count`, as not supported
n7studios Sep 30, 2025
7e6515a
Merge pull request #115 from Kit/add-update-tag-method
n7studios Oct 3, 2025
3a8791b
Merge pull request #113 from Kit/add-get-link-clicks-for-broadcast-me…
n7studios Oct 3, 2025
d532506
Merge pull request #109 from Kit/fix-api-docs
n7studios Oct 3, 2025
715a58a
Merge pull request #108 from Kit/add-composer-commands
n7studios Oct 3, 2025
e80ea8e
Merge pull request #106 from Kit/update-kit-domain
n7studios Oct 3, 2025
0e4f71d
Merge remote-tracking branch 'origin/fix-tests' into add-subscriber-s…
n7studios Oct 3, 2025
ad4c6a5
Reinstate tests
n7studios Oct 3, 2025
e0a848e
Merge pull request #110 from Kit/add-subscriber-stats-method
n7studios Oct 3, 2025
30df842
Merge branch 'fix-tests' into add-get-stats-for-a-list-of-broadcasts-…
n7studios Oct 3, 2025
4e90044
Reinstate method and tests
n7studios Oct 3, 2025
f2adc1b
Merge pull request #112 from Kit/add-get-stats-for-a-list-of-broadcas…
n7studios Oct 3, 2025
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions tests/ConvertKitAPIOAuthTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -401,7 +401,7 @@ public function testRefreshToken()
}

/**
* 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
* when refreshing an access token.
*
* @since 2.0.0
Expand All @@ -410,7 +410,7 @@ public function testRefreshToken()
*/
public function testRefreshTokenWithInvalidToken()
{
$this->expectException(ServerException::class);
$this->expectException(ClientException::class);
$api = new ConvertKit_API(
clientID: $_ENV['CONVERTKIT_OAUTH_CLIENT_ID'],
clientSecret: $_ENV['CONVERTKIT_OAUTH_CLIENT_SECRET']
Expand Down
2 changes: 1 addition & 1 deletion tests/ConvertKitAPITest.php
Original file line number Diff line number Diff line change
Expand Up @@ -1408,7 +1408,7 @@ public function testGetSequenceSubscriptionsPagination()

// Assert has_previous_page and has_next_page are correct.
$this->assertTrue($result->pagination->has_previous_page);
$this->assertFalse($result->pagination->has_next_page);
$this->assertTrue($result->pagination->has_next_page);

// Use pagination to fetch previous page.
$result = $this->api->get_sequence_subscriptions(
Expand Down