mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-17 11:18:01 +00:00
- Fix tests to comply with the newest Oracle.
This commit is contained in:
@@ -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);
|
||||||
|
|
||||||
|
|||||||
@@ -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"));
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user