diff --git a/src/main/kotlin/com/petqua/presentation/order/dto/OrderDtos.kt b/src/main/kotlin/com/petqua/presentation/order/dto/OrderDtos.kt index c81e6225..9807c37d 100644 --- a/src/main/kotlin/com/petqua/presentation/order/dto/OrderDtos.kt +++ b/src/main/kotlin/com/petqua/presentation/order/dto/OrderDtos.kt @@ -300,7 +300,7 @@ data class OrderReadRequest( val limit: Int = PAGING_LIMIT_CEILING, @Schema( - description = "마지막으로 조회한 주문 번호. 없을 경우 null", + description = "마지막으로 조회한 주문 번호. 없을 경우 EMPTY", example = "20210901000001" ) val lastViewedOrderNumber: String, diff --git a/src/test/kotlin/com/petqua/presentation/order/OrderControllerSteps.kt b/src/test/kotlin/com/petqua/presentation/order/OrderControllerSteps.kt index 695a8731..94e6943b 100644 --- a/src/test/kotlin/com/petqua/presentation/order/OrderControllerSteps.kt +++ b/src/test/kotlin/com/petqua/presentation/order/OrderControllerSteps.kt @@ -72,9 +72,11 @@ fun requestReadOrders( return Given { log().all() auth().preemptive().oauth2(accessToken) - .queryParams("lastViewedId", request.lastViewedId) - .queryParams("limit", request.limit) - .queryParams("lastViewedOrderNumber", request.lastViewedOrderNumber) + .params( + "lastViewedId", request.lastViewedId, + "limit", request.limit, + "lastViewedOrderNumber", request.lastViewedOrderNumber, + ) } When { get("/orders") } Then {