Browse Source

replace Exception on GeneralException

master
Vyacheslav Agafonov 13 years ago
parent
commit
b8a02ebeaa
  1. 3
      tests/i18n/I18NTest.php

3
tests/i18n/I18NTest.php

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

Loading…
Cancel
Save