- Fix tests to comply with the newest Oracle.

This commit is contained in:
Agetian
2019-06-16 13:13:19 +03:00
parent 80946ca88f
commit e75929c16d
2 changed files with 3 additions and 3 deletions

View File

@@ -501,7 +501,7 @@ public class GameSimulatorTest extends SimulationTestCase {
assertTrue(depths.hasCounters()); assertTrue(depths.hasCounters());
SpellAbility sa = findSAWithPrefix(thespian, SpellAbility sa = findSAWithPrefix(thespian,
"{2}, {T}: CARDNAME becomes a copy of target land and gains this ability."); "{2}, {T}: CARDNAME becomes a copy of target land, except it has this ability.");
assertNotNull(sa); assertNotNull(sa);
sa.getTargets().add(depths); sa.getTargets().add(depths);
@@ -526,7 +526,7 @@ public class GameSimulatorTest extends SimulationTestCase {
game.getAction().checkStateEffects(true); game.getAction().checkStateEffects(true);
SpellAbility sa = findSAWithPrefix(thespian, SpellAbility sa = findSAWithPrefix(thespian,
"{2}, {T}: CARDNAME becomes a copy of target land and gains this ability."); "{2}, {T}: CARDNAME becomes a copy of target land, except it has this ability.");
assertNotNull(sa); assertNotNull(sa);
sa.getTargets().add(thespian); sa.getTargets().add(thespian);

View File

@@ -235,7 +235,7 @@ public class SpellAbilityPickerTest extends SimulationTestCase {
assertEquals("Urborg, Tomb of Yawgmoth", choices.get(1)); assertEquals("Urborg, Tomb of Yawgmoth", choices.get(1));
// Next, expected to use Thespian's Stage to copy Dark Depths. // Next, expected to use Thespian's Stage to copy Dark Depths.
Plan.Decision d2 = picker.getPlan().getDecisions().get(1); Plan.Decision d2 = picker.getPlan().getDecisions().get(1);
String expected = "{2}, {T}: Thespian's Stage becomes a copy of target land and gains this ability."; String expected = "{2}, {T}: Thespian's Stage becomes a copy of target land, except it has this ability.";
assertEquals(expected, d2.saRef.toString()); assertEquals(expected, d2.saRef.toString());
assertTrue(d2.targets.toString().contains("Dark Depths")); assertTrue(d2.targets.toString().contains("Dark Depths"));
} }