Files
Java-Library/src/test/java/xyz/mcutils/MojangTests.java
2024-04-17 21:06:43 +01:00

16 lines
386 B
Java

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();
}
}