|
@@ -0,0 +1,16 @@
|
|
|
+package com.caimei.www.service.page;
|
|
|
+
|
|
|
+import org.junit.jupiter.api.Test;
|
|
|
+import org.springframework.beans.factory.annotation.Autowired;
|
|
|
+import org.springframework.boot.test.context.SpringBootTest;
|
|
|
+
|
|
|
+import static org.junit.jupiter.api.Assertions.*;
|
|
|
+@SpringBootTest
|
|
|
+class ArticleServiceTest {
|
|
|
+ @Autowired
|
|
|
+ ArticleService articleService;
|
|
|
+ @Test
|
|
|
+ void getInfoById() {
|
|
|
+ System.out.println(articleService.getInfoById(6606).toString());
|
|
|
+ }
|
|
|
+}
|