Skip to content

Commit ef90a6a

Browse files
authored
chore: fix error message (#877)
1 parent b7d0dfc commit ef90a6a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/Twilio/ClusterTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -154,7 +154,7 @@ public function testOrgsApiUserListAndFetchAndOrgsApiAccountsList(): void
154154

155155
public function testErrorOnCreatingTokenWithInvalidOAuthCredentials(): void {
156156
$this->expectException(TwilioException::class);
157-
$this->expectExceptionMessage("[HTTP 400] Unable to create record: client_id is invalid");
157+
$this->expectExceptionMessage("[HTTP 400] Unable to create record: HTTP 400 Bad Request");
158158
$client = new Client();
159159
$client->setCredentialProvider(new NoAuthCredentialProvider());
160160
$client->iam->v1->token->create("client_credentials", "client_id", ["clientSecret" => "client_secret"]);

0 commit comments

Comments
 (0)