diff --git a/src/test/java/org/kiwiproject/io/KiwiPathsTest.java b/src/test/java/org/kiwiproject/io/KiwiPathsTest.java index e26a22ae..c7117ea4 100644 --- a/src/test/java/org/kiwiproject/io/KiwiPathsTest.java +++ b/src/test/java/org/kiwiproject/io/KiwiPathsTest.java @@ -13,10 +13,10 @@ class KiwiPathsTest { @Test void testPathFromFileName_WhenValidRelativeFileName() { - var path = KiwiPaths.pathFromResourceName("logback.xml"); + var path = KiwiPaths.pathFromResourceName("logback-test.xml"); assertThat(path.toFile()).exists(); - assertThat(path.toString()).endsWith("/logback.xml"); + assertThat(path.toString()).endsWith("/logback-test.xml"); } @Test diff --git a/src/test/java/org/kiwiproject/jsch/JSchSlf4jLoggerTest.java b/src/test/java/org/kiwiproject/jsch/JSchSlf4jLoggerTest.java index 3b088a9e..9fb87d80 100644 --- a/src/test/java/org/kiwiproject/jsch/JSchSlf4jLoggerTest.java +++ b/src/test/java/org/kiwiproject/jsch/JSchSlf4jLoggerTest.java @@ -23,7 +23,7 @@ /** * IMPORTANT: - * In order to setup SLF4J loggers at the appropriate level, the {@code src/test/resources/logback.xml} contains five + * In order to setup SLF4J loggers at the appropriate level, the {@code src/test/resources/logback-test.xml} contains five * loggers for the five different SLF4J log levels (TRACE, DEBUG, INFO, WARN, ERROR). *

* The name format is: {@code jsch-logger-} -- for example the DEBUG level logger is named @@ -154,7 +154,7 @@ void shouldLog_Jsch_WARN_Level_At_SLF4J_WARN_Level() { .doesNotContain("test INFO message"); } - // See logback.xml in src/test which configures org.kiwiproject.jsch.JSchSlf4jLogger at WARN level + // See logback-test.xml in src/test which configures org.kiwiproject.jsch.JSchSlf4jLogger at WARN level @Test void shouldLog_AtLogbackConfiguredLevel_WhenConstructUsingDefaultConstructor() { logger = new JSchSlf4jLogger(); diff --git a/src/test/resources/logback.xml b/src/test/resources/logback-test.xml similarity index 100% rename from src/test/resources/logback.xml rename to src/test/resources/logback-test.xml