diff --git a/src/test/java/com/crossoverjie/service/ssmone/ContentLogServiceImplTest.java b/src/test/java/com/crossoverjie/service/ssmone/ContentLogServiceImplTest.java index 4919f04..a12eb78 100644 --- a/src/test/java/com/crossoverjie/service/ssmone/ContentLogServiceImplTest.java +++ b/src/test/java/com/crossoverjie/service/ssmone/ContentLogServiceImplTest.java @@ -32,7 +32,14 @@ public class ContentLogServiceImplTest { @Test public void insertSelective() throws Exception { + + Content content = new Content(); + content.setContent("asdsf"); + content.setCreatedate("2016-12-09"); + contentService.insertSelective(content); + ContentLog log = new ContentLog(); + log.setContentid(content.getContentid()); log.setContent("asdsf"); log.setCreatedate("2016-12-09"); contentLogService.insertSelective(log);