mirror of
https://github.com/alexcrea/CustomAnvil.git
synced 2026-08-28 08:25:56 +02:00
do not load metrics in test
This commit is contained in:
parent
d82bd9b22c
commit
b0f32fdba2
2 changed files with 11 additions and 4 deletions
|
|
@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue