replace Exception on GeneralException

This commit is contained in:
Vyacheslav Agafonov
2011-11-25 13:57:50 +04:00
parent 7d215c9af4
commit b8a02ebeaa

View File

@ -14,6 +14,7 @@ require_once dirname(__FILE__) . '/../../Registry.php';
require_once dirname(__FILE__) . '/../../Config.php';
require_once dirname(__FILE__) . '/../../classes/Env.class.php';
require_once dirname(__FILE__) . '/../../i18n/I18N.php';
require_once dirname(__FILE__) . '/../../exception/GeneralException.php';
/**
* @runTestsInSeparateProcesses
@ -41,7 +42,7 @@ class I18NTest extends PHPUnit_Framework_TestCase
}
/**
* @expectedException Exception
* @expectedException GeneralException
*/
public function testInitNoConfig()
{