replace Exception on GeneralException
This commit is contained in:
@ -14,6 +14,7 @@ require_once dirname(__FILE__) . '/../../Registry.php';
|
|||||||
require_once dirname(__FILE__) . '/../../Config.php';
|
require_once dirname(__FILE__) . '/../../Config.php';
|
||||||
require_once dirname(__FILE__) . '/../../classes/Env.class.php';
|
require_once dirname(__FILE__) . '/../../classes/Env.class.php';
|
||||||
require_once dirname(__FILE__) . '/../../i18n/I18N.php';
|
require_once dirname(__FILE__) . '/../../i18n/I18N.php';
|
||||||
|
require_once dirname(__FILE__) . '/../../exception/GeneralException.php';
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @runTestsInSeparateProcesses
|
* @runTestsInSeparateProcesses
|
||||||
@ -41,7 +42,7 @@ class I18NTest extends PHPUnit_Framework_TestCase
|
|||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @expectedException Exception
|
* @expectedException GeneralException
|
||||||
*/
|
*/
|
||||||
public function testInitNoConfig()
|
public function testInitNoConfig()
|
||||||
{
|
{
|
||||||
|
Reference in New Issue
Block a user