From 297142554477c9ad70cbbc090c1bcc7da5fef6ce Mon Sep 17 00:00:00 2001 From: Ludy Date: Thu, 4 Jul 2024 23:02:35 +0200 Subject: [PATCH] [Bugfix] Prevents the deletion of productive data (#1522) prevents the deletion of productive data --- .../software/SPDF/utils/SPdfApplicationTest.java | 13 ------------- 1 file changed, 13 deletions(-) diff --git a/src/test/java/stirling/software/SPDF/utils/SPdfApplicationTest.java b/src/test/java/stirling/software/SPDF/utils/SPdfApplicationTest.java index e37e74b6..f9229b64 100644 --- a/src/test/java/stirling/software/SPDF/utils/SPdfApplicationTest.java +++ b/src/test/java/stirling/software/SPDF/utils/SPdfApplicationTest.java @@ -5,7 +5,6 @@ import static org.junit.jupiter.api.Assertions.*; import java.io.IOException; import java.nio.file.Files; import java.nio.file.Path; -import java.nio.file.Paths; import org.junit.jupiter.api.BeforeEach; import org.junit.jupiter.api.Test; @@ -44,18 +43,6 @@ public class SPdfApplicationTest { @Test public void testMainApplicationStartup() throws IOException, InterruptedException { - // Setup mock environment for the main method - Path settingsPath = Paths.get("configs/settings.yml"); - Path customSettingsPath = Paths.get("configs/custom_settings.yml"); - - // Ensure the files do not exist for the test - if (Files.exists(settingsPath)) { - Files.delete(settingsPath); - } - if (Files.exists(customSettingsPath)) { - Files.delete(customSettingsPath); - } - // Run the main method SPdfApplication.main(new String[]{});