From 8408af175d9e965d2257e9259de5bdf12f5e5e40 Mon Sep 17 00:00:00 2001 From: Gian-Andrea Hutter Date: Fri, 4 Nov 2022 15:46:11 +0100 Subject: [PATCH] #27 gardenplanmodelTest bugfixed --- .../gartenverwaltung/gardenplan/GardenPlanModelTest.java | 5 ----- 1 file changed, 5 deletions(-) diff --git a/src/test/java/ch/zhaw/gartenverwaltung/gardenplan/GardenPlanModelTest.java b/src/test/java/ch/zhaw/gartenverwaltung/gardenplan/GardenPlanModelTest.java index 6b30ce9..16ece04 100644 --- a/src/test/java/ch/zhaw/gartenverwaltung/gardenplan/GardenPlanModelTest.java +++ b/src/test/java/ch/zhaw/gartenverwaltung/gardenplan/GardenPlanModelTest.java @@ -84,11 +84,6 @@ public class GardenPlanModelTest { TaskListModel taskListModel = new TaskListModel(new JsonTaskDatabase(), new JsonPlantDatabase()); model = new Gardenplanmodel(taskListModel); - -// final URL dataSource = getClass().getClassLoader().getResource("taskdb.json"); -// File src = new File(String.valueOf(getClass().getResource("originalDB/taskdb.json"))); -// File dest = new File(String.valueOf(getClass().getClassLoader().getResource("originalDB/taskdb.json"))); -// Files.copy(src.toPath(), dest.getParentFile().toPath()); } GardenPlan mockGardenPlan(List cropList) throws IOException {