From 7787c5eaea52ba4ccca1f31c6ac12c457163a57c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E7=A8=8B=E9=9C=B2?= <1285823170@qq.com> Date: Mon, 9 May 2022 17:37:16 +0800 Subject: [PATCH] fix the github workflow run failed issue. (#192) * fix the workflow issue. * ci test. * ci test. --- .../restlight/test/bootstrap/MinorityMockMvcBuilderTest.java | 3 --- 1 file changed, 3 deletions(-) diff --git a/restlight-test/restlight-test-starter/src/test/java/io/esastack/restlight/test/bootstrap/MinorityMockMvcBuilderTest.java b/restlight-test/restlight-test-starter/src/test/java/io/esastack/restlight/test/bootstrap/MinorityMockMvcBuilderTest.java index b2dea0d6..11599996 100644 --- a/restlight-test/restlight-test-starter/src/test/java/io/esastack/restlight/test/bootstrap/MinorityMockMvcBuilderTest.java +++ b/restlight-test/restlight-test-starter/src/test/java/io/esastack/restlight/test/bootstrap/MinorityMockMvcBuilderTest.java @@ -35,7 +35,6 @@ import io.esastack.restlight.test.context.MockMvc; import org.junit.jupiter.api.Assertions; import org.junit.jupiter.api.Test; -import org.springframework.web.bind.annotation.ControllerAdvice; import java.util.Collections; import java.util.List; @@ -58,12 +57,10 @@ void testPerform() { Assertions.assertEquals(404, result.response().status())); } - @ControllerAdvice public static class A { } - @ControllerAdvice public static class B { }