diff options
author | Eduardo Pedroni <e.pedroni91@gmail.com> | 2016-03-26 22:07:50 +0100 |
---|---|---|
committer | Eduardo Pedroni <e.pedroni91@gmail.com> | 2016-03-26 22:07:50 +0100 |
commit | 505e3dfc41d3191cf48fc201b2dac636ca9ca59a (patch) | |
tree | 907d9f59cfee165c9ec5878e75a38ac0135a9c28 /test/eu/equalparts | |
parent | 0e2391574b26b66f9d1fa0f04c30dc50127aa457 (diff) |
Tests should pass now
Diffstat (limited to 'test/eu/equalparts')
-rw-r--r-- | test/eu/equalparts/cardbase/CardbaseTest.java | 2 | ||||
-rw-r--r-- | test/eu/equalparts/cardbase/cardstorage/StandaloneCardContainerTest.java | 2 |
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)); } |