diff --git a/src/test/java/com/teaching/test.java b/src/test/java/com/teaching/test.java index 9fe8f16..6d75620 100644 --- a/src/test/java/com/teaching/test.java +++ b/src/test/java/com/teaching/test.java @@ -11,8 +11,7 @@ import javax.annotation.Resource; @SpringBootTest public class test { - @Resource - private KnowledgeLearningCountServiceImpl knowledgeLearningCountService; + @Test public void countknowledge(){ String userId = "2";