release 0.1 #30

Manually merged
noemi3 merged 150 commits from release/0.1 into master 2020-01-18 14:59:02 +00:00
2 changed files with 20 additions and 0 deletions
Showing only changes of commit a79a765fac - Show all commits

View File

@ -7,7 +7,9 @@ import java.util.Date;
public class Comment {
@SerializedName("_id")
private String id;
@SerializedName(value = "comment", alternate = "text")
private String comment;
@SerializedName(value = "authorId", alternate = "userId")
private String authorId;
private String boardId;
private String cardId;
@ -26,6 +28,22 @@ public class Comment {
return authorId;
}
public String getBoardId() {
return boardId;
}
public String getCardId() {
return cardId;
}
public Date getCreatedAt() {
return createdAt;
}
public Date getModifiedAt() {
return modifiedAt;
}
@Override
public String toString() {
return "Comment{" +

View File

@ -103,6 +103,8 @@ public class CardCommentServiceTest {
).execute().body();
assertNotNull(comment);
assertNotNull(comment.getAuthorId());
assertNotNull(comment.getComment());
} catch (IOException e) {
e.printStackTrace();
}