/** * testSearchForEmptyEmploymentEnd * * @see 0009362: allow to filter for empty datetimes */ public function testSearchForEmptyEmploymentEnd() { $savedEmployee = $this->_saveEmployee(); $result = $this->_json->searchEmployees(array(array('field' => 'employment_end', 'operator' => 'equals', 'value' => '')), array()); $this->assertGreaterThan(0, $result['totalcount'], 'should find employee with no employment_end'); }