#27 gardenplanmodelTest bugfixed

This commit is contained in:
Gian-Andrea Hutter 2022-11-04 15:46:11 +01:00
parent e91773b360
commit 8408af175d
1 changed files with 0 additions and 5 deletions

View File

@ -84,11 +84,6 @@ public class GardenPlanModelTest {
TaskListModel taskListModel = new TaskListModel(new JsonTaskDatabase(), new JsonPlantDatabase()); TaskListModel taskListModel = new TaskListModel(new JsonTaskDatabase(), new JsonPlantDatabase());
model = new Gardenplanmodel(taskListModel); 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<Crop> cropList) throws IOException { GardenPlan mockGardenPlan(List<Crop> cropList) throws IOException {