Skip to content

Commit 9d23e21

Browse files
committed
fix: TaskControllerTest 수정
1 parent a906c9b commit 9d23e21

File tree

1 file changed

+16
-16
lines changed

1 file changed

+16
-16
lines changed

back/src/test/java/com/back/domain/roadmap/task/controller/TaskControllerTest.java

Lines changed: 16 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ void t1() throws Exception {
4545

4646
ResultActions resultActions = mvc
4747
.perform(
48-
get("/api/tasks/search")
48+
get("/tasks/search")
4949
.param("keyword", keyword)
5050
.contentType(MediaType.APPLICATION_JSON)
5151
)
@@ -74,7 +74,7 @@ void t2() throws Exception {
7474

7575
ResultActions resultActions = mvc
7676
.perform(
77-
get("/api/tasks/search")
77+
get("/tasks/search")
7878
.param("keyword", keyword)
7979
)
8080
.andDo(print());
@@ -98,7 +98,7 @@ void t3() throws Exception {
9898

9999
ResultActions resultActions = mvc
100100
.perform(
101-
get("/api/tasks/search")
101+
get("/tasks/search")
102102
.param("keyword", keyword)
103103
)
104104
.andDo(print());
@@ -120,7 +120,7 @@ void t4() throws Exception {
120120

121121
ResultActions resultActions = mvc
122122
.perform(
123-
get("/api/tasks/search")
123+
get("/tasks/search")
124124
.param("keyword", keyword)
125125
)
126126
.andDo(print());
@@ -140,7 +140,7 @@ void t5() throws Exception {
140140

141141
ResultActions resultActions = mvc
142142
.perform(
143-
get("/api/tasks/search")
143+
get("/tasks/search")
144144
.param("keyword", keyword)
145145
)
146146
.andDo(print());
@@ -160,7 +160,7 @@ void t6() throws Exception {
160160

161161
ResultActions resultActions = mvc
162162
.perform(
163-
get("/api/tasks/search")
163+
get("/tasks/search")
164164
.param("keyword", keyword)
165165
)
166166
.andDo(print());
@@ -178,7 +178,7 @@ void t6() throws Exception {
178178
void t7() throws Exception {
179179
ResultActions resultActions = mvc
180180
.perform(
181-
get("/api/tasks/search")
181+
get("/tasks/search")
182182
// keyword 파라미터 없음
183183
)
184184
.andDo(print());
@@ -195,7 +195,7 @@ void t8() throws Exception {
195195

196196
ResultActions resultActions = mvc
197197
.perform(
198-
get("/api/tasks/search")
198+
get("/tasks/search")
199199
.param("keyword", keywordWithSpaces)
200200
)
201201
.andDo(print());
@@ -217,7 +217,7 @@ void t9() throws Exception {
217217

218218
ResultActions resultActions = mvc
219219
.perform(
220-
get("/api/tasks/search")
220+
get("/tasks/search")
221221
.param("keyword", keyword)
222222
)
223223
.andDo(print());
@@ -238,7 +238,7 @@ void t10() throws Exception {
238238

239239
ResultActions resultActions = mvc
240240
.perform(
241-
get("/api/tasks/search")
241+
get("/tasks/search")
242242
.param("keyword", keyword)
243243
)
244244
.andDo(print());
@@ -262,7 +262,7 @@ void t11() throws Exception {
262262

263263
ResultActions resultActions = mvc
264264
.perform(
265-
post("/api/tasks/aliases/pending")
265+
post("/tasks/aliases/pending")
266266
.contentType(MediaType.APPLICATION_JSON)
267267
.content(requestBody)
268268
)
@@ -292,7 +292,7 @@ void t12() throws Exception {
292292

293293
ResultActions resultActions = mvc
294294
.perform(
295-
post("/api/tasks/aliases/pending")
295+
post("/tasks/aliases/pending")
296296
.contentType(MediaType.APPLICATION_JSON)
297297
.content(requestBody)
298298
)
@@ -317,7 +317,7 @@ void t13() throws Exception {
317317

318318
ResultActions resultActions = mvc
319319
.perform(
320-
post("/api/tasks/aliases/pending")
320+
post("/tasks/aliases/pending")
321321
.contentType(MediaType.APPLICATION_JSON)
322322
.content(requestBody)
323323
)
@@ -345,7 +345,7 @@ void t14() throws Exception {
345345

346346
ResultActions resultActions = mvc
347347
.perform(
348-
post("/api/tasks/aliases/pending")
348+
post("/tasks/aliases/pending")
349349
.contentType(MediaType.APPLICATION_JSON)
350350
.content(requestBody)
351351
)
@@ -370,7 +370,7 @@ void t15() throws Exception {
370370

371371
ResultActions resultActions = mvc
372372
.perform(
373-
post("/api/tasks/aliases/pending")
373+
post("/tasks/aliases/pending")
374374
.contentType(MediaType.APPLICATION_JSON)
375375
.content(requestBody)
376376
)
@@ -394,7 +394,7 @@ void t16() throws Exception {
394394

395395
ResultActions resultActions = mvc
396396
.perform(
397-
post("/api/tasks/aliases/pending")
397+
post("/tasks/aliases/pending")
398398
.contentType(MediaType.APPLICATION_JSON)
399399
.content(requestBody)
400400
)

0 commit comments

Comments
 (0)