From acac10b14fefcabcf740f4eed3350343dc7026bb Mon Sep 17 00:00:00 2001 From: minsu Date: Mon, 19 Feb 2024 03:54:16 +0900 Subject: [PATCH] =?UTF-8?q?refactor:=20test=EB=A5=BC=20=EC=9C=84=ED=95=9C?= =?UTF-8?q?=20code=20=EC=88=98=EC=A0=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../mybooks/front/book_order/controller/TestController.java | 4 ++-- src/main/resources/application.properties | 2 ++ 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/src/main/java/store/mybooks/front/book_order/controller/TestController.java b/src/main/java/store/mybooks/front/book_order/controller/TestController.java index 05aab684..f48ed743 100644 --- a/src/main/java/store/mybooks/front/book_order/controller/TestController.java +++ b/src/main/java/store/mybooks/front/book_order/controller/TestController.java @@ -25,10 +25,10 @@ public class TestController { private final TestService testService; - @GetMapping("/api/orders-statuses") + @GetMapping("/test") public ResponseEntity test() { List data = testService.getTestResult(); - return new ResponseEntity<>(data.get(0).toString(), HttpStatus.OK); + return new ResponseEntity<>("ok", HttpStatus.OK); } } diff --git a/src/main/resources/application.properties b/src/main/resources/application.properties index 8b137891..a001d086 100644 --- a/src/main/resources/application.properties +++ b/src/main/resources/application.properties @@ -1 +1,3 @@ +server.port=8080 +logging.level.root=debug