replace Exception on GeneralException
This commit is contained in:
@ -12,6 +12,7 @@
|
||||
|
||||
require_once dirname(__FILE__) . '/../Registry.php';
|
||||
require_once dirname(__FILE__) . '/../Config.php';
|
||||
require_once dirname(__FILE__) . '/../exception/GeneralException.php';
|
||||
|
||||
class ConfigTest extends PHPUnit_Framework_TestCase
|
||||
{
|
||||
@ -34,7 +35,7 @@ class ConfigTest extends PHPUnit_Framework_TestCase
|
||||
}
|
||||
|
||||
/**
|
||||
* @expectedException Exception
|
||||
* @expectedException GeneralException
|
||||
* @expectedExceptionMessage Configuration variable
|
||||
*/
|
||||
public function testArrayAsParam()
|
||||
|
Reference in New Issue
Block a user