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