This is an automated email from the ASF dual-hosted git repository. elharo pushed a commit to branch log in repository https://gitbox.apache.org/repos/asf/maven-changes-plugin.git
commit 37b772235687677a20de712bd736309a919bdf3d Author: Elliotte Rusty Harold <elh...@ibiblio.org> AuthorDate: Sun Dec 8 07:33:57 2024 -0500 Silence log messages in tests --- .../apache/maven/plugins/changes/jira/JqlQueryBuilderTestCase.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/test/java/org/apache/maven/plugins/changes/jira/JqlQueryBuilderTestCase.java b/src/test/java/org/apache/maven/plugins/changes/jira/JqlQueryBuilderTestCase.java index e306b86..211ba79 100644 --- a/src/test/java/org/apache/maven/plugins/changes/jira/JqlQueryBuilderTestCase.java +++ b/src/test/java/org/apache/maven/plugins/changes/jira/JqlQueryBuilderTestCase.java @@ -22,7 +22,7 @@ import java.io.UnsupportedEncodingException; import java.net.URLEncoder; import junit.framework.TestCase; -import org.apache.maven.plugin.logging.SystemStreamLog; +import org.apache.maven.plugin.testing.SilentLog; /** * Test class for {@link JqlQueryBuilder} @@ -35,7 +35,7 @@ public class JqlQueryBuilderTestCase extends TestCase { private static final String ENCODING = "UTF-8"; public void testEmptyQuery() { - String actual = new JqlQueryBuilder(new SystemStreamLog()).build(); + String actual = new JqlQueryBuilder(new SilentLog()).build(); String expected = ""; assertEquals(expected, actual); }