From b8dd827be6a47e421d495e03b056c12e671e2add Mon Sep 17 00:00:00 2001 From: Adro Morelos Date: Wed, 18 Sep 2024 12:45:35 -0500 Subject: [PATCH] fix(test): adgujst test after change on the public api methods. --- tests/Endpoint/Accounts/AccountsTest.php | 2 +- tests/UnbounceTest.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/Endpoint/Accounts/AccountsTest.php b/tests/Endpoint/Accounts/AccountsTest.php index 69af62a..0c30dbf 100644 --- a/tests/Endpoint/Accounts/AccountsTest.php +++ b/tests/Endpoint/Accounts/AccountsTest.php @@ -16,7 +16,7 @@ public function test_it_can_get_accounts() ]); $response = $sdk->accounts() - ->all(); + ->get(); $this->assertIsArray($response); $this->assertArrayHasKey('accounts', $response); diff --git a/tests/UnbounceTest.php b/tests/UnbounceTest.php index 72cbc18..ff7755a 100644 --- a/tests/UnbounceTest.php +++ b/tests/UnbounceTest.php @@ -26,6 +26,6 @@ public function test_throw_exception_when_unauthorized(): void $this->expectException(RequestUnauthorizedException::class); - $sdk->accounts()->all(); + $sdk->accounts()->get(); } }