mirror of
https://github.com/magefree/mage.git
synced 2025-12-20 10:40:06 -08:00
tests: fixed test with TxtDeckImporterTest
This commit is contained in:
parent
91f2e3155f
commit
d7ac82efb3
1 changed files with 7 additions and 0 deletions
|
|
@ -5,11 +5,18 @@ import mage.cards.decks.DeckCardLists;
|
||||||
import mage.cards.decks.importer.TxtDeckImporter;
|
import mage.cards.decks.importer.TxtDeckImporter;
|
||||||
import mage.cards.repository.CardInfo;
|
import mage.cards.repository.CardInfo;
|
||||||
import mage.cards.repository.CardRepository;
|
import mage.cards.repository.CardRepository;
|
||||||
|
import mage.cards.repository.CardScanner;
|
||||||
import org.junit.Assert;
|
import org.junit.Assert;
|
||||||
|
import org.junit.Before;
|
||||||
import org.junit.Test;
|
import org.junit.Test;
|
||||||
|
|
||||||
public class TxtDeckImporterTest {
|
public class TxtDeckImporterTest {
|
||||||
|
|
||||||
|
@Before
|
||||||
|
public void setUp() {
|
||||||
|
CardScanner.scan();
|
||||||
|
}
|
||||||
|
|
||||||
@Test
|
@Test
|
||||||
public void testImportWithBlankLineAboveSideboard() {
|
public void testImportWithBlankLineAboveSideboard() {
|
||||||
TxtDeckImporter importer = new TxtDeckImporter(false);
|
TxtDeckImporter importer = new TxtDeckImporter(false);
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue