public function testApproveOthersTask() { self::$_task->manager = self::$_other_user->id; self::$_task->update(); self::$_task->refresh(); $stat = org_openpsa_projects_workflow::approve(self::$_task, 'test comment'); $this->assertFalse($stat); }
public function testApproveOthersTask() { self::$_task->manager = self::$_other_user->id; self::$_task->update(); self::$_task->refresh(); $stat = org_openpsa_projects_workflow::approve(self::$_task, 'test comment'); $this->assertFalse($stat); }