mirror of
https://github.com/Anuken/Mindustry.git
synced 2026-01-28 07:22:21 -08:00
Possible flaky test fix
This commit is contained in:
parent
2cea277320
commit
756c717a9b
2 changed files with 2 additions and 2 deletions
|
|
@ -4,6 +4,7 @@ import mindustry.gen.*;
|
|||
import mindustry.type.*;
|
||||
import org.junit.jupiter.api.*;
|
||||
|
||||
import static mindustry.Vars.*;
|
||||
import static org.junit.jupiter.api.Assertions.*;
|
||||
|
||||
//grabs a version-locked exotic-mod commit and makes sure its content is parsed correctly
|
||||
|
|
@ -23,7 +24,7 @@ public class ModTestExotic extends GenericModTest{
|
|||
assertNotNull(type, "A mod unit must be loaded.");
|
||||
assertTrue(type.weapons.size > 0, "A mod unit must have a weapon.");
|
||||
|
||||
Vars.world.loadMap(ApplicationTests.testMap);
|
||||
Vars.world.loadMap(maps.loadInternalMap("groundZero"));
|
||||
|
||||
Unit unit = type.spawn(0, 0);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue