mirror of
https://github.com/lunaisnotaboy/mastodon.git
synced 2024-12-20 04:07:45 +00:00
Fix localization test failing due to order of locale definitions (#12393)
This commit is contained in:
parent
24ea938ce1
commit
510e184216
|
@ -53,8 +53,8 @@ module Mastodon
|
|||
:el,
|
||||
:en,
|
||||
:eo,
|
||||
:es,
|
||||
:'es-AR',
|
||||
:es,
|
||||
:et,
|
||||
:eu,
|
||||
:fa,
|
||||
|
@ -93,8 +93,8 @@ module Mastodon
|
|||
:sk,
|
||||
:sl,
|
||||
:sq,
|
||||
:sr,
|
||||
:'sr-Latn',
|
||||
:sr,
|
||||
:sv,
|
||||
:ta,
|
||||
:te,
|
||||
|
|
|
@ -26,6 +26,7 @@ describe 'Localization' do
|
|||
I18n.t('about.tagline', locale: 'es')
|
||||
)
|
||||
end
|
||||
|
||||
it 'falls back to english when locale is missing' do
|
||||
headers = { 'Accept-Language' => '12-FAKE' }
|
||||
|
||||
|
|
Loading…
Reference in a new issue