Exemplo n.º 1
0
 public function testRemoveInvalidSort()
 {
     $sorts = array('field1' => Solarium_Query_Select::SORT_DESC, 'field2' => Solarium_Query_Select::SORT_ASC);
     $this->_query->addSorts($sorts);
     $this->_query->removeSort('invalidfield');
     //continue silently
     $this->assertEquals($sorts, $this->_query->getSorts());
 }