Moving setExpectedException
This commit is contained in:
@ -69,8 +69,8 @@ class DbStatementTest extends PHPUnit_Framework_TestCase
|
||||
|
||||
public function testBindParamExceptionWrongObject()
|
||||
{
|
||||
$this->setExpectedException('GeneralException', 'Objects excepts DbExpr not allowed.');
|
||||
$val = $this->getMock('NotDbExpr');
|
||||
$this->setExpectedException('GeneralException', 'Objects excepts DbExpr not allowed.');
|
||||
$this->stmt->bindParam('paa', $val);
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user