use of com.bc.pmpheep.back.po.WriterUserCertification in project pmph by BCSquad.
the class WriterUserCertificationServiceTest method testDeleteWriterUserCertificationById.
@Test
@Rollback(Const.ISROLLBACK)
public void testDeleteWriterUserCertificationById() {
WriterUserCertification writerUserCertification = this.addWriterUserCertification();
Assert.assertTrue("删除失败", writerUserCertificationService.deleteWriterUserCertificationById(writerUserCertification.getId()) >= 0);
}
use of com.bc.pmpheep.back.po.WriterUserCertification in project pmph by BCSquad.
the class WriterUserCertificationServiceTest method testUpdateWriterUserCertification.
@Test
@Rollback(Const.ISROLLBACK)
public void testUpdateWriterUserCertification() {
WriterUserCertification writerUserCertification = this.addWriterUserCertification();
writerUserCertification.setIdcard("12345678");
Assert.assertTrue("更新失败", writerUserCertificationService.updateWriterUserCertification(writerUserCertification) > 0);
}
Aggregations