From b8a02ebeaa74ea7e6442ac57a6c1a50533586a96 Mon Sep 17 00:00:00 2001 From: Vyacheslav Agafonov Date: Fri, 25 Nov 2011 13:57:50 +0400 Subject: [PATCH] replace Exception on GeneralException --- tests/i18n/I18NTest.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/tests/i18n/I18NTest.php b/tests/i18n/I18NTest.php index c2652c9..f5e9ed6 100644 --- a/tests/i18n/I18NTest.php +++ b/tests/i18n/I18NTest.php @@ -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() {