diff --git a/tests/src/test/java/ApplicationTests.java b/tests/src/test/java/ApplicationTests.java index b875d39179..1885a31d94 100644 --- a/tests/src/test/java/ApplicationTests.java +++ b/tests/src/test/java/ApplicationTests.java @@ -15,7 +15,6 @@ import mindustry.ctype.*; import mindustry.entities.units.*; import mindustry.game.*; import mindustry.gen.*; -import mindustry.graphics.g3d.*; import mindustry.io.*; import mindustry.io.SaveIO.*; import mindustry.maps.*; @@ -23,7 +22,6 @@ import mindustry.mod.*; import mindustry.mod.Mods.*; import mindustry.net.*; import mindustry.net.Packets.*; -import mindustry.service.*; import mindustry.type.*; import mindustry.world.*; import mindustry.world.blocks.payloads.*; @@ -983,16 +981,4 @@ public class ApplicationTests{ tile.build.handleStack(item, 1, unit); assertEquals(capacity, tile.build.items.get(item)); } - - @Test - void achievementTest(){ - clientLoaded = true; - state.rules.sector = new Sector(null, PlanetGrid.Ptile.empty); - player = Player.create(); - service.init(); - - assertFalse(Achievement.buildT5.isAchieved()); - Events.fire(new EventType.UnitCreateEvent(UnitTypes.eclipse.create(Team.sharded), null)); - assertTrue(Achievement.buildT5.isAchieved()); - } }