use of com.bc.pmpheep.back.po.WriterProfile in project pmph by BCSquad.
the class WriterProfileServiceTest method testDeleteWriterProfileById.
@Test
@Rollback(Const.ISROLLBACK)
public void testDeleteWriterProfileById() {
WriterProfile writerProfile = new WriterProfile(4L, "物理学专家,机械工程学教授", "科研大赛冠军");
writerProfileService.addWriterProfile(writerProfile);
writerProfile.setId(writerProfile.getId());
Assert.assertTrue("删除数据失败", writerProfileService.deleteWriterProfileById(writerProfile.getId()) >= 0);
}
Aggregations