Conditions | 1 |
Paths | 1 |
Total Lines | 14 |
Code Lines | 8 |
Lines | 0 |
Ratio | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
11 | public function testFrenchLocale() |
||
12 | { |
||
13 | $config = array( |
||
14 | 'gettext_locale_dir' => 'testTranslations', |
||
15 | 'gettext_text_domain' => 'my-domain', |
||
16 | 'gettext_catalog_codeset' => 'UTF-8', |
||
17 | 'gettext_locale' => 'fr_FR' |
||
18 | ); |
||
19 | |||
20 | // only for avoid output when launch test |
||
21 | $this->expectOutputRegex('//'); |
||
22 | |||
23 | \Gettext::init($config); |
||
24 | } |
||
25 | |||
51 | } |