pls work first try
This commit is contained in:
15
src/test/java/xyz/mcutils/MojangTests.java
Normal file
15
src/test/java/xyz/mcutils/MojangTests.java
Normal 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();
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user