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(); } }