mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-16 18:58:00 +00:00
Merge branch 'master' into 'master'
Fix tests to comply with the newest Oracle. See merge request core-developers/forge!1868
This commit is contained in:
@@ -501,7 +501,7 @@ public class GameSimulatorTest extends SimulationTestCase {
|
||||
assertTrue(depths.hasCounters());
|
||||
|
||||
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);
|
||||
sa.getTargets().add(depths);
|
||||
|
||||
@@ -526,7 +526,7 @@ public class GameSimulatorTest extends SimulationTestCase {
|
||||
game.getAction().checkStateEffects(true);
|
||||
|
||||
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);
|
||||
sa.getTargets().add(thespian);
|
||||
|
||||
|
||||
@@ -235,7 +235,7 @@ public class SpellAbilityPickerTest extends SimulationTestCase {
|
||||
assertEquals("Urborg, Tomb of Yawgmoth", choices.get(1));
|
||||
// Next, expected to use Thespian's Stage to copy Dark Depths.
|
||||
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());
|
||||
assertTrue(d2.targets.toString().contains("Dark Depths"));
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user