From 193b3d965ca5384585e0ad457fe6a9dccdc3207b Mon Sep 17 00:00:00 2001 From: chenfeida Date: Tue, 24 Jul 2018 14:55:10 +0800 Subject: [PATCH] =?UTF-8?q?=E6=B5=8B=E8=AF=95=E6=8F=90=E4=BA=A4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../src/test/java/com/tamguo/BookCrawler.java | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/tamguo-crawler/src/test/java/com/tamguo/BookCrawler.java b/tamguo-crawler/src/test/java/com/tamguo/BookCrawler.java index 7b496bf..24634d6 100644 --- a/tamguo-crawler/src/test/java/com/tamguo/BookCrawler.java +++ b/tamguo-crawler/src/test/java/com/tamguo/BookCrawler.java @@ -1,23 +1,23 @@ package com.tamguo; -import com.tamguo.service.IBookService; -import com.tamguo.service.ISubjectService; import org.junit.Test; import org.junit.runner.RunWith; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.boot.test.context.SpringBootTest; import org.springframework.test.context.junit4.SpringRunner; +import com.tamguo.service.IBookService; + @RunWith(SpringRunner.class) @SpringBootTest public class BookCrawler { - @Autowired + @Autowired IBookService bookService; - + @Test public void crawlerBook() throws Exception { - bookService.crawlerBook(); + this.bookService.crawlerBook(); } - + }