From 4d3188befa5fe4a4de7812e9ebc91a7ecf269858 Mon Sep 17 00:00:00 2001 From: jucheolkang Date: Tue, 16 Jan 2024 23:08:12 +0900 Subject: [PATCH] =?UTF-8?q?refactor:=20TodoControllerTest=20=EB=A6=AC?= =?UTF-8?q?=ED=8C=A9=ED=86=A0=EB=A7=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/main/resources/application.yml | 4 ++-- .../java/org/idiot/yesslave/todo/ui/TodoControllerTest.java | 1 - 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/src/main/resources/application.yml b/src/main/resources/application.yml index 369a30b..b95d115 100644 --- a/src/main/resources/application.yml +++ b/src/main/resources/application.yml @@ -20,5 +20,5 @@ spring: add-mappings: false mvc: throw-exception-if-no-handler-found: true - main: - allow-bean-definition-overriding: true + + diff --git a/src/test/java/org/idiot/yesslave/todo/ui/TodoControllerTest.java b/src/test/java/org/idiot/yesslave/todo/ui/TodoControllerTest.java index 06a2d35..b7fce2b 100644 --- a/src/test/java/org/idiot/yesslave/todo/ui/TodoControllerTest.java +++ b/src/test/java/org/idiot/yesslave/todo/ui/TodoControllerTest.java @@ -113,7 +113,6 @@ public void delete_Test() throws Exception { //given String text = "Test schedule"; - LocalDateTime time = LocalDateTime.now(); //when todoRepository.save(todo.builder()