From 1dad5012bc425a42a75eb2722b976ce443993359 Mon Sep 17 00:00:00 2001 From: mkmmr Date: Thu, 1 Sep 2022 20:04:15 +0900 Subject: [PATCH] =?UTF-8?q?=E4=B8=8D=E8=A6=81=E3=81=AA=E3=82=A2=E3=83=8E?= =?UTF-8?q?=E3=83=86=E3=83=BC=E3=82=B7=E3=83=A7=E3=83=B3=E3=82=92=E5=89=8A?= =?UTF-8?q?=E9=99=A4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/test/java/com/raisetech/todo/form/ToDoFormTest.java | 6 ------ .../java/com/raisetech/todo/form/ToDoUpdateFormTest.java | 7 ------- 2 files changed, 13 deletions(-) diff --git a/src/test/java/com/raisetech/todo/form/ToDoFormTest.java b/src/test/java/com/raisetech/todo/form/ToDoFormTest.java index d5a6dfd..2b9595a 100644 --- a/src/test/java/com/raisetech/todo/form/ToDoFormTest.java +++ b/src/test/java/com/raisetech/todo/form/ToDoFormTest.java @@ -1,11 +1,7 @@ package com.raisetech.todo.form; import org.junit.jupiter.api.Test; -import org.junit.jupiter.api.extension.ExtendWith; import org.mockito.InjectMocks; -import org.mockito.junit.jupiter.MockitoExtension; -import org.springframework.boot.autoconfigure.validation.ValidationAutoConfiguration; -import org.springframework.boot.test.context.SpringBootTest; import javax.validation.ConstraintViolation; import javax.validation.Validation; @@ -16,8 +12,6 @@ import static org.assertj.core.api.Assertions.tuple; import static org.junit.jupiter.api.Assertions.assertThrows; -@SpringBootTest(classes = {ValidationAutoConfiguration.class}) -@ExtendWith(MockitoExtension.class) class ToDoFormTest { @InjectMocks diff --git a/src/test/java/com/raisetech/todo/form/ToDoUpdateFormTest.java b/src/test/java/com/raisetech/todo/form/ToDoUpdateFormTest.java index 7fa1027..655b356 100644 --- a/src/test/java/com/raisetech/todo/form/ToDoUpdateFormTest.java +++ b/src/test/java/com/raisetech/todo/form/ToDoUpdateFormTest.java @@ -1,15 +1,10 @@ package com.raisetech.todo.form; import org.junit.jupiter.api.Test; -import org.junit.jupiter.api.extension.ExtendWith; import org.mockito.InjectMocks; -import org.mockito.junit.jupiter.MockitoExtension; -import org.springframework.boot.autoconfigure.validation.ValidationAutoConfiguration; -import org.springframework.boot.test.context.SpringBootTest; import javax.validation.ConstraintViolation; import javax.validation.Validation; - import java.time.format.DateTimeParseException; import java.util.Set; @@ -17,8 +12,6 @@ import static org.assertj.core.api.Assertions.tuple; import static org.junit.jupiter.api.Assertions.assertThrows; -@SpringBootTest(classes = {ValidationAutoConfiguration.class}) -@ExtendWith(MockitoExtension.class) class ToDoUpdateFormTest { @InjectMocks