From 9b9dcf42d48130cd7443ee4d9e2ffea2a7725c5f Mon Sep 17 00:00:00 2001 From: Vyacheslav Agafonov Date: Thu, 1 Dec 2011 11:28:48 +0400 Subject: [PATCH] replacement @expectedException to setExpectedException from testInitSetDefaultLangNotInLocales() --- tests/i18n/I18NTest.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/i18n/I18NTest.php b/tests/i18n/I18NTest.php index 593c9ed..a172c43 100644 --- a/tests/i18n/I18NTest.php +++ b/tests/i18n/I18NTest.php @@ -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'));