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()
2929 {
3030 return array_map (
3131 function ($ filePath ) { return (array ) $ filePath ; },
32- glob (\dirname (\dirname ( __DIR__ ) ).'/Resources/translations/*.xlf ' )
32+ glob (\dirname (__DIR__ , 2 ).'/Resources/translations/*.xlf ' )
3333 );
3434 }
3535
3636 public function testNorwegianAlias ()
3737 {
3838 $ 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 ' ,
4141 'The NO locale should be an alias for the NB variant of the Norwegian language. '
4242 );
4343 }
You can’t perform that action at this time.
0 commit comments