From 67313938e1c8c2abc22e68aeae50a0766fa456cf Mon Sep 17 00:00:00 2001 From: ZhouXY108 Date: Tue, 28 Mar 2023 15:41:15 +0800 Subject: [PATCH] =?UTF-8?q?=E6=8F=90=E4=BA=A4=E4=BB=A3=E7=A0=81=E3=80=82?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- plusone-start/src/test/java/xyz/zhouxy/plusone/TestAop.java | 3 +++ 1 file changed, 3 insertions(+) diff --git a/plusone-start/src/test/java/xyz/zhouxy/plusone/TestAop.java b/plusone-start/src/test/java/xyz/zhouxy/plusone/TestAop.java index 12a2322..73df511 100644 --- a/plusone-start/src/test/java/xyz/zhouxy/plusone/TestAop.java +++ b/plusone-start/src/test/java/xyz/zhouxy/plusone/TestAop.java @@ -1,5 +1,7 @@ package xyz.zhouxy.plusone; +import static org.junit.jupiter.api.Assertions.assertNotNull; + import javax.annotation.Resource; import org.junit.jupiter.api.Test; @@ -25,6 +27,7 @@ class TestAop { command.setPrincipal("Code108"); command.setPassword("2333"); command.setRememberMe(false); + assertNotNull(service); LoginInfoViewObject loginInfo = service.loginByPassword(command); System.err.println(loginInfo); }