Browse Source

replacement @expectedException to setExpectedException from testInitSetDefaultLangNotInLocales()

master
Vyacheslav Agafonov 13 years ago
parent
commit
9b9dcf42d4
  1. 2
      tests/i18n/I18NTest.php

2
tests/i18n/I18NTest.php

@ -84,10 +84,10 @@ class I18NTest extends PHPUnit_Framework_TestCase
/** /**
* @runInSeparateProcess * @runInSeparateProcess
* @expectedException PHPUnit_Framework_Error
*/ */
public function testInitSetDefaultLangNotInLocales() public function testInitSetDefaultLangNotInLocales()
{ {
$this->setExpectedException('PHPUnit_Framework_Error');
$this->setConstants(); $this->setConstants();
Config::set('I18N', array('locales' => array('rus' => 'ru_RU'), 'default' => 'ru')); Config::set('I18N', array('locales' => array('rus' => 'ru_RU'), 'default' => 'ru'));

Loading…
Cancel
Save