mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2025-07-24 17:32:15 +00:00
[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:
committed by
Eugenio Romano
parent
e39a2b149b
commit
85c022730b
@@ -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;
|
||||
};
|
||||
|
Reference in New Issue
Block a user