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); }