Skip to content

Commit ac6b614

Browse files
shryhustboychuk
authored andcommitted
GP-83 update tests
1 parent 01204b1 commit ac6b614

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

3-0-spring-framework/3-2-1-account-rest-api/src/test/java/com/bobocode/AccountRestControllerTest.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ void accountRestControllerAnnotation() {
5353

5454
@Test
5555
@Order(2)
56-
@DisplayName("AccountRestController is annotated and mapped with @RequestMapping")
56+
@DisplayName("AccountRestController is specified in @RequestMapping")
5757
void accountRestControllerRequestMapping() {
5858
RequestMapping requestMapping = AccountRestController.class.getAnnotation(RequestMapping.class);
5959

@@ -110,7 +110,7 @@ void getById() throws Exception {
110110

111111
@Test
112112
@Order(7)
113-
@DisplayName("Creating account returns corresponding HTTP status")
113+
@DisplayName("Creating account returns corresponding HTTP status - 201")
114114
void httpStatusCodeOnCreate() throws Exception {
115115
mockMvc.perform(
116116
post("/accounts")

0 commit comments

Comments
 (0)