replace Exception on GeneralException
This commit is contained in:
@ -13,6 +13,7 @@
|
||||
require_once dirname(__FILE__) . '/../../model/DbExpr.php';
|
||||
require_once dirname(__FILE__) . '/../../model/Db.php';
|
||||
require_once dirname(__FILE__) . '/../../model/DbDriver.php';
|
||||
require_once dirname(__FILE__) . '/../../exception/GeneralException.php';
|
||||
|
||||
class DbDriverTest extends PHPUnit_Framework_TestCase
|
||||
{
|
||||
@ -32,7 +33,7 @@ class DbDriverTest extends PHPUnit_Framework_TestCase
|
||||
}
|
||||
|
||||
/**
|
||||
* @expectedException Exception
|
||||
* @expectedException GeneralException
|
||||
* @expectedExceptionMessage Configuration must have a "username".
|
||||
*/
|
||||
public function testConstructWrongConfig()
|
||||
|
Reference in New Issue
Block a user