do not load metrics in test

This commit is contained in:
alexcrea 2026-06-10 17:18:43 +02:00
parent d82bd9b22c
commit b0f32fdba2
Signed by: alexcrea
GPG key ID: E346CD16413450E3
2 changed files with 11 additions and 4 deletions

View file

@ -8,11 +8,15 @@ public class CustomAnvilTests extends DefaultCustomAnvilTest {
@Test
public void simpleInitTest() {
Assertions.assertNotNull(server);
Assertions.assertNotNull(plugin);
try {
Assertions.assertNotNull(server);
Assertions.assertNotNull(plugin);
// Test shutdown
plugin.onDisable();
// Test shutdown
plugin.onDisable();
} catch (Exception e) {
Assertions.fail(e);
}
}
}