Skip to content

Commit

Permalink
Adding header tests
Browse files Browse the repository at this point in the history
Signed-off-by: TrungBui59 <[email protected]>
  • Loading branch information
TrungBui59 committed Nov 6, 2023
1 parent 6a1e3ca commit ad1ace3
Showing 1 changed file with 1 addition and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -134,13 +134,7 @@ public void invokeRemoteModel_POSTMethodSuccessPath() {
public void invokeRemoteModel_HeaderNull() throws ClientProtocolException, IOException {
invokeRemoteModel_HeaderTest(null);
}

@Test
public void invokeRemoteModel_HeaderNotNull() throws ClientProtocolException, IOException {
Map<String, String> header = new HashMap<>();
header.put("Content-Type", "application/json");
invokeRemoteModel_HeaderTest(header);
}

@Test
public void invokeRemoteModel_POSTMethodErrorPath() {
exceptionRule.expect(MLException.class);
Expand Down

0 comments on commit ad1ace3

Please sign in to comment.