[ADF-3692] Add task details tests (#3905)

* Add task details tests

* Resolve lint issues

* Resolve lint errors

* Fix lint errors

* fix spellcheck

* Fixing a constant name
This commit is contained in:
cristinaj
2018-10-24 09:53:00 +03:00
committed by Eugenio Romano
parent e39a2b149b
commit 85c022730b
6 changed files with 412 additions and 83 deletions

View File

@@ -27,7 +27,10 @@ var TaskModel = function (details) {
this.dueDate;
this.priority;
this.parentTaskName;
this.parentTaskId;
this.formKey;
this.duration;
this.endDate;
this.assignee = {};
this.getName = function () {
@@ -58,10 +61,22 @@ var TaskModel = function (details) {
return this.priority;
};
this.getDuration = function () {
return this.duration;
};
this.getEndDate = function () {
return this.endDate;
};
this.getParentTaskName = function () {
return this.parentTaskName;
};
this.getParentTaskId = function () {
return this.parentTaskId;
};
this.getFormKey = function () {
return this.formKey;
};