replacement @expectedException to setExpectedException from testInitSetDefaultLangNotInLocales()
This commit is contained in:
@ -84,10 +84,10 @@ class I18NTest extends PHPUnit_Framework_TestCase
|
||||
|
||||
/**
|
||||
* @runInSeparateProcess
|
||||
* @expectedException PHPUnit_Framework_Error
|
||||
*/
|
||||
public function testInitSetDefaultLangNotInLocales()
|
||||
{
|
||||
$this->setExpectedException('PHPUnit_Framework_Error');
|
||||
$this->setConstants();
|
||||
|
||||
Config::set('I18N', array('locales' => array('rus' => 'ru_RU'), 'default' => 'ru'));
|
||||
|
Reference in New Issue
Block a user