Skip to content

Commit

Permalink
fix tests because now they are using HeadersMessageBodyWriter
Browse files Browse the repository at this point in the history
  • Loading branch information
jcarranzan committed Aug 29, 2024
1 parent 7d130b8 commit c31c109
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,12 @@ public void httpServer() {
@Test
@DisplayName("GRPC Server test")
public void testGrpc() {
getApp().given().when().get("/api/grpc/trinity").then().statusCode(SC_OK).body(is("Hello trinity"));
getApp().given()
.when()
.get("/api/grpc/trinity")
.then()
.statusCode(SC_OK)
.body(is("Headers response: Hello trinity"));
}

@Test
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,13 @@ public void clientHostAddress(TestInfo testInfo) {
@Test
@DisplayName("GRPC Server test")
public void testGrpc() {
getApp().given().when().get("/api/grpc/trinity").then().statusCode(HttpStatus.SC_OK).body(is("Hello trinity"));
getApp()
.given()
.when()
.get("/api/grpc/trinity")
.then()
.statusCode(HttpStatus.SC_OK)
.body(is("Headers response: Hello trinity"));
}

@Test
Expand Down

0 comments on commit c31c109

Please sign in to comment.