aboutsummaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
Diffstat (limited to 'test')
-rw-r--r--test/eu/equalparts/cardbase/CardbaseTest.java2
-rw-r--r--test/eu/equalparts/cardbase/cardstorage/StandaloneCardContainerTest.java2
2 files changed, 2 insertions, 2 deletions
diff --git a/test/eu/equalparts/cardbase/CardbaseTest.java b/test/eu/equalparts/cardbase/CardbaseTest.java
index c9576ce..47ad027 100644
--- a/test/eu/equalparts/cardbase/CardbaseTest.java
+++ b/test/eu/equalparts/cardbase/CardbaseTest.java
@@ -113,7 +113,7 @@ public class CardbaseTest {
public void loadFileHasWrongStructure() throws Exception {
File wrongStructure = tempFolder.newFile("wrongStructure.json");
try (FileWriter writer = new FileWriter(wrongStructure)) {
- writer.write("{\"cards\":\"content\",\"collection\":50,\"decks\":{\"subfield\":10}}");
+ writer.write("{\"cardData\":\"content\",\"cardReferences\":50,\"decks\":{\"subfield\":10}}");
}
exception.expect(JsonMappingException.class);
diff --git a/test/eu/equalparts/cardbase/cardstorage/StandaloneCardContainerTest.java b/test/eu/equalparts/cardbase/cardstorage/StandaloneCardContainerTest.java
index bd1bbfb..bb6edc1 100644
--- a/test/eu/equalparts/cardbase/cardstorage/StandaloneCardContainerTest.java
+++ b/test/eu/equalparts/cardbase/cardstorage/StandaloneCardContainerTest.java
@@ -106,7 +106,7 @@ public class StandaloneCardContainerTest {
uut.addCard(testCard, 3);
uut.removeCard(testCard, 5);
-
+
assertNull("Card is not missing from container.", uut.getCard(testCard.setCode, testCard.number));
}