pls work first try

This commit is contained in:
Lee
2024-04-17 21:06:43 +01:00
commit ecde2bb2a7
30 changed files with 1258 additions and 0 deletions

View File

@ -0,0 +1,15 @@
package xyz.mcutils;
import lombok.SneakyThrows;
import org.junit.jupiter.api.Test;
import xyz.mcutils.models.mojang.CachedMojangEndpointStatus;
public class MojangTests {
@Test
@SneakyThrows
public void ensureMojangApiStatusSuccess() {
CachedMojangEndpointStatus status = McUtilsAPI.getMojangApiStatus();
assert !status.getEndpoints().isEmpty();
}
}