From 260c8515c507b8c339fdbe1a10b0f13792eac09d Mon Sep 17 00:00:00 2001 From: Frederic Guillot Date: Sat, 3 Oct 2015 17:21:29 -0400 Subject: Add more unit tests --- app/Model/TaskStatus.php | 17 ----------------- 1 file changed, 17 deletions(-) (limited to 'app/Model') diff --git a/app/Model/TaskStatus.php b/app/Model/TaskStatus.php index 3f62667c..23d77fa4 100644 --- a/app/Model/TaskStatus.php +++ b/app/Model/TaskStatus.php @@ -12,23 +12,6 @@ use Event\TaskEvent; */ class TaskStatus extends Base { - /** - * Return the list of statuses - * - * @access public - * @param boolean $prepend Prepend default value - * @return array - */ - public function getList($prepend = false) - { - $listing = $prepend ? array(-1 => t('All status')) : array(); - - return $listing + array( - Task::STATUS_OPEN => t('Open'), - Task::STATUS_CLOSED => t('Closed'), - ); - } - /** * Return true if the task is closed * -- cgit v1.2.3