File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -29,15 +29,15 @@ public function provideTranslationFiles()
29
29
{
30
30
return array_map (
31
31
function ($ filePath ) { return (array ) $ filePath ; },
32
- glob (\dirname (\dirname ( __DIR__ ) ).'/Resources/translations/*.xlf ' )
32
+ glob (\dirname (__DIR__ , 2 ).'/Resources/translations/*.xlf ' )
33
33
);
34
34
}
35
35
36
36
public function testNorwegianAlias ()
37
37
{
38
38
$ this ->assertFileEquals (
39
- \dirname (\dirname ( __DIR__ ) ).'/Resources/translations/security.nb.xlf ' ,
40
- \dirname (\dirname ( __DIR__ ) ).'/Resources/translations/security.no.xlf ' ,
39
+ \dirname (__DIR__ , 2 ).'/Resources/translations/security.nb.xlf ' ,
40
+ \dirname (__DIR__ , 2 ).'/Resources/translations/security.no.xlf ' ,
41
41
'The NO locale should be an alias for the NB variant of the Norwegian language. '
42
42
);
43
43
}
You can’t perform that action at this time.
0 commit comments