use of org.activityinfo.shared.dto.ProjectDTO in project activityinfo by bedatadriven.
the class ProjectTest method constraintViolation.
@Test(expected = Exception.class)
public void constraintViolation() {
setUser(1);
SchemaDTO schema = execute(new GetSchema());
ProjectDTO project = schema.getProjectById(2);
project.setName(null);
execute(RequestChange.update(project, "name"));
}
Aggregations