1
0
mirror of synced 2026-09-11 00:49:39 +00:00

test: fix 'SLF4J(W): No SLF4J providers were found.' warning (#1772)

This commit is contained in:
Max Schmitt
2025-03-20 18:38:34 +01:00
committed by GitHub
parent b2852f5d57
commit 8593941005
2 changed files with 21 additions and 0 deletions
+9
View File
@@ -57,6 +57,15 @@
<groupId>org.java-websocket</groupId>
<artifactId>Java-WebSocket</artifactId>
</dependency>
<!--
The following slf4j-simple dependency resolves the warning:
'SLF4J(W): No SLF4J providers were found.'
This warning is produced by the org.java-websocket library.
-->
<dependency>
<groupId>org.slf4j</groupId>
<artifactId>slf4j-simple</artifactId>
</dependency>
<dependency>
<groupId>org.junit.jupiter</groupId>
<artifactId>junit-jupiter-engine</artifactId>
+12
View File
@@ -48,6 +48,7 @@
<junit.version>5.12.1</junit.version>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<websocket.version>1.6.0</websocket.version>
<slf4j.version>2.0.17</slf4j.version>
<opentest4j.version>1.3.0</opentest4j.version>
</properties>
@@ -91,6 +92,17 @@
<version>${websocket.version}</version>
<scope>test</scope>
</dependency>
<!--
The following slf4j-simple dependency resolves the warning:
'SLF4J(W): No SLF4J providers were found.'
This warning is produced by the org.java-websocket library.
-->
<dependency>
<groupId>org.slf4j</groupId>
<artifactId>slf4j-simple</artifactId>
<version>${slf4j.version}</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.junit.jupiter</groupId>
<artifactId>junit-jupiter-api</artifactId>