public function index() { return View::make('list', ['entityType' => ENTITY_TASK, 'title' => trans('texts.tasks'), 'sortCol' => '2', 'columns' => Utils::trans(['checkbox', 'client', 'date', 'duration', 'description', 'status', ''])]); }
/** * Test index. */ public function testIndex() { $controller = new TaskController(); $this->response = $controller->index(); $this->seeJson(); $this->assertEquals(200, $this->response->status()); }