diff --git a/src/test/java/de/sfuhrm/radiorecorder/MainIntegrationTest.java b/src/test/java/de/sfuhrm/radiorecorder/MainIntegrationTest.java index 1ddef9a..436424e 100644 --- a/src/test/java/de/sfuhrm/radiorecorder/MainIntegrationTest.java +++ b/src/test/java/de/sfuhrm/radiorecorder/MainIntegrationTest.java @@ -37,7 +37,7 @@ public void testlistStation() throws IOException, InterruptedException { public void testAbortAfterDuration() throws IOException, InterruptedException { Path tmpDir = Files.createTempDirectory("rb"); try { - Main.main(new String[]{"Deutschlandfunk", "-abort-after-duration", "3s", "-limit", "1", "-d", tmpDir.toAbsolutePath().toString()}); + Main.main(new String[]{"SWR3", "-abort-after-duration", "3s", "-limit", "1", "-d", tmpDir.toAbsolutePath().toString()}); // expecting one file assertEquals(1, listRecursively(tmpDir).stream().filter(p -> Files.isRegularFile(p)).count());