From 912d9ef680024506e716147d03e254e6e7278c0a Mon Sep 17 00:00:00 2001 From: Sean McIlvenna Date: Fri, 15 Mar 2024 17:05:00 -0400 Subject: [PATCH] Fixing broken unit test --- .../com/lantanagroup/link/sender/FileSystemSenderTests.java | 3 +++ 1 file changed, 3 insertions(+) diff --git a/core/src/test/java/com/lantanagroup/link/sender/FileSystemSenderTests.java b/core/src/test/java/com/lantanagroup/link/sender/FileSystemSenderTests.java index 879f74d38..2b863c11f 100644 --- a/core/src/test/java/com/lantanagroup/link/sender/FileSystemSenderTests.java +++ b/core/src/test/java/com/lantanagroup/link/sender/FileSystemSenderTests.java @@ -13,6 +13,9 @@ public class FileSystemSenderTests { @Test public void getFilePathTest_NoConfigPath() { FileSystemSender sender = new FileSystemSender(); + FileSystemSenderConfig config = new FileSystemSenderConfig(); + config.setFormat(FileSystemSenderConfig.Formats.JSON); + sender.setConfig(config); Assert.assertThrows(IllegalArgumentException.class, () -> { sender.getFilePath("submission"); }); }