Fix mindmaping controller tests.

This commit is contained in:
Paulo Gustavo Veiga
2014-01-25 04:21:59 -03:00
parent 9b3f1c79a6
commit 0493d66daa
5 changed files with 37 additions and 12 deletions

View File

@@ -61,6 +61,10 @@ public class RestMindmapInfo {
this.collaborator = collaborator;
}
public void setCreationTime(String value){
// Ignore
}
public String getCreationTime() {
final Calendar creationTime = mindmap.getCreationTime();
return creationTime != null ? TimeUtils.toISO8601(creationTime.getTime()) : null;
@@ -115,7 +119,7 @@ public class RestMindmapInfo {
return collaboration != null ? collaboration.getRole().getLabel() : "none";
}
public void setRole() {
public void setRole(String value) {
// Do nothing ...
}
@@ -143,7 +147,7 @@ public class RestMindmapInfo {
return mindmap.isStarred(collaborator);
}
public void setStarred(int value) {
public void setStarred(boolean value) {
}