TranslatorTest: expect the correct exception

This commit is contained in:
Thomas Gelf 2014-09-04 18:38:03 +02:00
parent 0cc024a30a
commit 3d170f90a5

View File

@ -44,7 +44,7 @@ class TranslatorTest extends BaseTestCase
} }
/** /**
* @expectedException \Exception * @expectedException Icinga\Exception\IcingaException
*/ */
public function testWhetherSetupLocaleThrowsAnExceptionWhenGivenAnInvalidLocale() public function testWhetherSetupLocaleThrowsAnExceptionWhenGivenAnInvalidLocale()
{ {