* Refactor getDataOfTasksPerType method.

This commit is contained in:
tianshujie
2023-08-21 10:19:45 +08:00
parent fe37ac434e
commit 179a8aee6b
3 changed files with 15 additions and 35 deletions
-20
View File
@@ -923,26 +923,6 @@ class taskTest
}
}
/**
* Test get report data of tasks per type.
*
* @access public
* @return array
*/
public function getDataOfTasksPerTypeTest()
{
$object = $this->objectModel->getDataOfTasksPerType();
if(dao::isError())
{
return dao::getError();
}
else
{
return $object;
}
}
/**
* Test get report data of tasks per priority.
*