fix error

This commit is contained in:
theelk801 2024-10-16 11:29:08 -04:00
parent b02f05c0c5
commit 8a3bc359ec

View file

@ -1080,7 +1080,7 @@ public class ModalDoubleFacedCardsTest extends CardTestPlayerBase {
GameView gameView = getGameView(playerA);
PermanentView permanentView = gameView.getMyPlayer().getBattlefield().values()
.stream()
.filter(p -> p.hasName("Tergrid, God of Fright", currentGame))
.filter(p -> p.getName().equals("Tergrid, God of Fright"))
.findFirst()
.orElse(null);
Assert.assertNotNull(permanentView);