public function test_order_by() { $result = $this->instance->order('title', 'asc'); $this->assertInstanceOf(Vacancy::class, $result); $this->markTestIncomplete('Improve @see self::test_search_for() for more info'); }
private function queryAdvanced($query = '') { return $this->vacancy->order($this->defaultOptions['orderBy'], $this->defaultOptions['order'])->page($this->defaultOptions['page'], $this->defaultOptions['limit'])->searchFor($query)->get()->toArray(); }