Skip to content

Commit

Permalink
Update ConnectApiTest.java
Browse files Browse the repository at this point in the history
  • Loading branch information
Jadavpadma authored Nov 7, 2024
1 parent a971f6e commit e7c3a0d
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -42,10 +42,10 @@ void generateLiteConnectUrlTest_UnknownCustomerId() {
api.generateLiteConnectUrl(params);
fail();
} catch (ApiException e) {
// {"code":"10010","status":"400","message":"Customer ID does not exist or does not belong to this partner","user_message":"One or more of the fields could not be validated. Please ensure you have entered the correct data.","tags":""}
logApiException(e);
assertErrorCodeEquals("10010", e);
assertErrorMessageEquals("Customer ID does not exist or does not belong to this partner", e);
assertErrorMessageEquals("Request failed with status code 404 GET /aggregation/v1/customers/1234", e);

}
}

Expand Down

0 comments on commit e7c3a0d

Please sign in to comment.