release 0.1 #30

Manually merged
noemi3 merged 150 commits from release/0.1 into master 2020-01-18 14:59:02 +00:00
Showing only changes of commit 4595d7bbe7 - Show all commits

View File

@ -32,7 +32,6 @@ public class CardServiceTest {
} catch (IOException e) {
e.printStackTrace();
}
}
@After
@ -108,8 +107,7 @@ public class CardServiceTest {
try {
Card card = service.newCard(
cardToAdd,
"oKthRbLqoXZr5NNua","iA6pmp6fENvF7AaTX")
"oKthRbLqoXZr5NNua","iA6pmp6fENvF7AaTX",cardToAdd)
.execute().body();
assertNotNull(card);
@ -140,8 +138,6 @@ public class CardServiceTest {
assertEquals("iA6pmp6fENvF7AaTX" + i, cards.get(i).getListId());
assertEquals("proof", cards.get(i).getDescription());
}
}
@Test
@ -154,14 +150,13 @@ public class CardServiceTest {
Card update = new Card();
update.setTitle("newTitle");
Card card = service.putCard(update, "","","")
Card card = service.putCard("","","",update)
.execute().body();
assertNotNull(card);
assertEquals("sig8KLcMcPTGx5GfF", card.getId());
}
private static final String card =
"{"+
"\"_id\":\"J5a86fPe2DhqN3QbF\"," +
@ -190,6 +185,7 @@ public class CardServiceTest {
"\"type\":\"cardType-card\"," +
"\"linkedId\":\"" +
"}";
private static final Card cardToAdd = new Card(
"jPdkf3a9bmfZWx3GR","cardAdded","ScwkAWCRW23duajxJ",
"proof");