diff --git a/src/test/java/net/knarcraft/minecraftserverlauncher/utility/JarBuilderTest.java b/src/test/java/net/knarcraft/minecraftserverlauncher/utility/JarBuilderTest.java index ccc29b9..f0a7488 100644 --- a/src/test/java/net/knarcraft/minecraftserverlauncher/utility/JarBuilderTest.java +++ b/src/test/java/net/knarcraft/minecraftserverlauncher/utility/JarBuilderTest.java @@ -2,6 +2,7 @@ package net.knarcraft.minecraftserverlauncher.utility; import net.knarcraft.minecraftserverlauncher.Main; import net.knarcraft.minecraftserverlauncher.userinterface.FakeGUI; +import org.junit.jupiter.api.AfterAll; import org.junit.jupiter.api.BeforeEach; import org.junit.jupiter.api.MethodOrderer; import org.junit.jupiter.api.Order; @@ -31,6 +32,11 @@ public class JarBuilderTest { removeBuildToolsFiles(); } + @AfterAll + public static void tearDown() { + removeBuildToolsFiles(); + } + @Test @Order(3) public void buildLatestSpigotJarTest() {