Put test method after tearDown.

This commit is contained in:
Jeremy Wood 2023-03-02 08:35:52 -05:00
parent fc7509cca6
commit 65cb3f7037
No known key found for this signature in database
GPG Key ID: C5BAD04C77B91B4B
1 changed files with 5 additions and 5 deletions

View File

@ -21,13 +21,13 @@ class MockBukkitTest {
plugin = MockBukkit.load(MultiverseCore::class.java)
}
@Test
fun `MockBukkit loads the plugin`() {
assertNotNull(plugin)
}
@AfterTest
fun tearDown() {
MockBukkit.unmock()
}
@Test
fun `MockBukkit loads the plugin`() {
assertNotNull(plugin)
}
}