two TODO closed for exceptions

This commit is contained in:
Anton Grebnev
2011-12-06 14:16:13 +04:00
parent 71cc211c4f
commit a942745039
4 changed files with 3 additions and 16 deletions

View File

@ -92,9 +92,6 @@ class SqlModelTest extends PHPUnit_Framework_TestCase
$this->assertSame(' ORDER BY name ASC', $method->invoke($this->model, array('sort' => 'name'), array('id', 'name')));
$this->assertEmpty($method->invoke($this->model, array()));
/**
* @TODO: Model::order - check DESC condition - make case insensitive
*/
$this->assertSame(' ORDER BY name ASC', $method->invoke($this->model, array('sort' => 'name', 'order' => 'DESC'), array('id', 'name')));
}