some cleanup of the test
This commit is contained in:
parent
2add49eec2
commit
ed06b63335
@ -27,8 +27,6 @@ public class TestChecklist {
|
|||||||
@Autowired
|
@Autowired
|
||||||
private UserService userService;
|
private UserService userService;
|
||||||
@Autowired
|
@Autowired
|
||||||
private ProjectIdeaService projectIdeaService;
|
|
||||||
@Autowired
|
|
||||||
private ProjectClassService projectClassService;
|
private ProjectClassService projectClassService;
|
||||||
@Autowired
|
@Autowired
|
||||||
private RoleService roleService;
|
private RoleService roleService;
|
||||||
@ -38,9 +36,6 @@ public class TestChecklist {
|
|||||||
private ChecklistService checklistService;
|
private ChecklistService checklistService;
|
||||||
@Autowired
|
@Autowired
|
||||||
private ChecklistQuestionService checklistQuestionService;
|
private ChecklistQuestionService checklistQuestionService;
|
||||||
|
|
||||||
// @Autowired
|
|
||||||
// private CheckListAnswerDao checkListAnswerDao;
|
|
||||||
@Autowired
|
@Autowired
|
||||||
private ChecklistAnswerService checklistAnswerService;
|
private ChecklistAnswerService checklistAnswerService;
|
||||||
|
|
||||||
@ -49,7 +44,6 @@ public class TestChecklist {
|
|||||||
private ProjectClass bachelor;
|
private ProjectClass bachelor;
|
||||||
private Project project;
|
private Project project;
|
||||||
|
|
||||||
private List<CheckList> checkLists;
|
|
||||||
private CheckList checkList;
|
private CheckList checkList;
|
||||||
|
|
||||||
private List<CheckListQuestion> checkListQuestions;
|
private List<CheckListQuestion> checkListQuestions;
|
||||||
@ -92,7 +86,6 @@ public class TestChecklist {
|
|||||||
checkListQuestion = checklistQuestionService.save(checkListQuestion);
|
checkListQuestion = checklistQuestionService.save(checkListQuestion);
|
||||||
checkListQuestions.add(checkListQuestion);
|
checkListQuestions.add(checkListQuestion);
|
||||||
|
|
||||||
checkLists = new ArrayList<CheckList>();
|
|
||||||
checkList = new CheckList();
|
checkList = new CheckList();
|
||||||
checkList.setName("checklist");
|
checkList.setName("checklist");
|
||||||
checkList.setProject(project);
|
checkList.setProject(project);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user