mirror of
https://github.com/TuxCoding/FastLogin.git
synced 2025-07-31 11:17:33 +02:00
Use SLF4J logger for int tests
This commit is contained in:
@ -107,7 +107,7 @@ public class LoginIT {
|
|||||||
clientSession.addListener(new SessionAdapter() {
|
clientSession.addListener(new SessionAdapter() {
|
||||||
@Override
|
@Override
|
||||||
public void packetReceived(Session session, Packet packet) {
|
public void packetReceived(Session session, Packet packet) {
|
||||||
System.out.println("Received: " + packet.getClass());
|
LOG.info("Client received: {}", packet.getClass());
|
||||||
connectionResult.complete(true);
|
connectionResult.complete(true);
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -161,7 +161,7 @@ public class LoginIT {
|
|||||||
|
|
||||||
URLConnection urlConnection = new URL(mockServer.getEndpoint() + "/users/profiles/minecraft/username").openConnection();
|
URLConnection urlConnection = new URL(mockServer.getEndpoint() + "/users/profiles/minecraft/username").openConnection();
|
||||||
String out = CharStreams.toString(new InputStreamReader(urlConnection.getInputStream(), StandardCharsets.UTF_8));
|
String out = CharStreams.toString(new InputStreamReader(urlConnection.getInputStream(), StandardCharsets.UTF_8));
|
||||||
System.out.println("OUTPUT: " + out);
|
LOG.info("OUTPUT: {}", out);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user