mirror of
https://github.com/Icinga/icingaweb2.git
synced 2025-04-08 17:15:08 +02:00
test: Remove testcase Bug6432Test
This commit is contained in:
parent
0cbae3195e
commit
84c459c519
@ -1,22 +0,0 @@
|
||||
<?php
|
||||
/* Icinga Web 2 | (c) 2014 Icinga Development Team | GPLv2+ */
|
||||
|
||||
namespace Tests\Icinga\Regression;
|
||||
|
||||
use Icinga\Test\BaseTestCase;
|
||||
use Icinga\Util\Translator;
|
||||
|
||||
/**
|
||||
* Regression-Test for bug #6432
|
||||
*
|
||||
* Translating strings must not throw an exception even if the given domain is not valid.
|
||||
*
|
||||
* @see https://dev.icinga.com/issues/6432
|
||||
*/
|
||||
class Bug6432Test extends BaseTestCase
|
||||
{
|
||||
public function testWhetherTranslateReturnsTheInputStringInCaseTheGivenDomainIsNotValid()
|
||||
{
|
||||
$this->assertEquals('test', Translator::translate('test', 'invalid_domain'));
|
||||
}
|
||||
}
|
Loading…
x
Reference in New Issue
Block a user