Skip to content

Commit

Permalink
fix(cli): tests didn't work anymore
Browse files Browse the repository at this point in the history
  • Loading branch information
loicmathieu committed Jul 18, 2024
1 parent 3c44c99 commit fc4a291
Showing 1 changed file with 0 additions and 13 deletions.
13 changes: 0 additions & 13 deletions cli/src/test/java/AppTest.java
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,6 @@
import io.micronaut.configuration.picocli.PicocliRunner;
import io.micronaut.context.ApplicationContext;
import io.micronaut.context.env.Environment;
import org.junit.jupiter.api.AfterAll;
import org.junit.jupiter.api.BeforeAll;
import org.junit.jupiter.api.Test;
import io.kestra.cli.App;

Expand All @@ -15,17 +13,6 @@
import static org.junit.jupiter.api.Assertions.assertThrows;

public class AppTest {
@BeforeAll
public static void setUp() {
// Don't make any assumptions about $HOME
System.setProperty("user.home", "/foo");
}

@AfterAll
public static void tearDown() {
System.clearProperty("user.home");
}

@Test
public void testHelp() {
ByteArrayOutputStream out = new ByteArrayOutputStream();
Expand Down

0 comments on commit fc4a291

Please sign in to comment.