From 8c9145dc1046c2e4725a55d1fb8b5fbce5cba674 Mon Sep 17 00:00:00 2001 From: Aurora Lahtela <24460436+AuroraLS3@users.noreply.github.com> Date: Wed, 31 Aug 2022 13:03:42 +0300 Subject: [PATCH] Fix VelocitySystemTest --- .../src/test/java/utilities/mocks/PlanVelocityMocker.java | 1 + 1 file changed, 1 insertion(+) diff --git a/Plan/velocity/src/test/java/utilities/mocks/PlanVelocityMocker.java b/Plan/velocity/src/test/java/utilities/mocks/PlanVelocityMocker.java index 4739596c0..bfd9697f2 100644 --- a/Plan/velocity/src/test/java/utilities/mocks/PlanVelocityMocker.java +++ b/Plan/velocity/src/test/java/utilities/mocks/PlanVelocityMocker.java @@ -52,6 +52,7 @@ public class PlanVelocityMocker { } public PlanVelocityMocker withDataFolder(File tempFolder) { + doReturn(tempFolder).when(planMock).getDataFolder(); return this; }