some cleanup of the test

This commit is contained in:
Fredrik Friis 2012-04-16 13:55:04 +09:00
parent 2add49eec2
commit ed06b63335

@ -27,8 +27,6 @@ public class TestChecklist {
@Autowired
private UserService userService;
@Autowired
private ProjectIdeaService projectIdeaService;
@Autowired
private ProjectClassService projectClassService;
@Autowired
private RoleService roleService;
@ -38,9 +36,6 @@ public class TestChecklist {
private ChecklistService checklistService;
@Autowired
private ChecklistQuestionService checklistQuestionService;
// @Autowired
// private CheckListAnswerDao checkListAnswerDao;
@Autowired
private ChecklistAnswerService checklistAnswerService;
@ -49,7 +44,6 @@ public class TestChecklist {
private ProjectClass bachelor;
private Project project;
private List<CheckList> checkLists;
private CheckList checkList;
private List<CheckListQuestion> checkListQuestions;
@ -92,7 +86,6 @@ public class TestChecklist {
checkListQuestion = checklistQuestionService.save(checkListQuestion);
checkListQuestions.add(checkListQuestion);
checkLists = new ArrayList<CheckList>();
checkList = new CheckList();
checkList.setName("checklist");
checkList.setProject(project);