public function testAddSortByLength() { $this->_collection->addSortByLength(); $order = $this->_collection->getSelect()->getPart(Zend_Db_Select::ORDER); $this->assertContains(array('length', 'DESC'), $order); }
public function testAddSortByLength() { $this->_collection->addSortByLength(); $order = $this->_collection->getSelect()->getPart(Zend_Db_Select::ORDER); $this->assertContains(array('length', 'DESC'), $order); }