Skip to content
This repository has been archived by the owner on Oct 22, 2020. It is now read-only.

Commit

Permalink
[NOISSUE] test: 테스트를 수정한다
Browse files Browse the repository at this point in the history
  • Loading branch information
TheDevLuffy committed May 19, 2020
1 parent 30eccd0 commit e7f472c
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@

import static io.restassured.RestAssured.given;
import static org.hamcrest.Matchers.is;
import static org.hamcrest.Matchers.notNullValue;

class HomeControllerTest extends AcceptanceTestUtils {

Expand All @@ -17,6 +18,7 @@ void home() {
get(baseUrl("/api/v2")).
then().
statusCode(200).
body(is("Hello. This is Tecobrary API v2. Welcome !"));
body("code", is("200")).
body("serverDateTime", is(notNullValue()));
}
}

0 comments on commit e7f472c

Please sign in to comment.