two TODO closed for exceptions
This commit is contained in:
@ -64,8 +64,7 @@ class MySQLiStatementTest extends PHPUnit_Framework_TestCase
|
||||
|
||||
/**
|
||||
* @expectedException GeneralException
|
||||
* @expectedExceptionMessage Placeholder must be an array or string
|
||||
* @TODO: change Exception Message 'Placeholder must be an array or string' - no arrays available
|
||||
* @expectedExceptionMessage Placeholder must be an integer or string
|
||||
*/
|
||||
public function testBindParamExceptionParam()
|
||||
{
|
||||
|
@ -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')));
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user