use of com.webank.wedatasphere.qualitis.entity.Permission in project Qualitis by WeBankFinTech.
the class RolePermissionDaoTest method savePermission.
private Permission savePermission() {
// 保存是否成功
Permission entity = new Permission();
entity.setUrl("/junit/**");
entity.setMethod("GET");
Permission saveEntity = permissionDao.savePermission(entity);
assertTrue(saveEntity.getId() != 0);
return saveEntity;
}
Aggregations