Skip to content
Snippets Groups Projects
Unverified Commit 510e1842 authored by Eugen Rochko's avatar Eugen Rochko Committed by GitHub
Browse files

Fix localization test failing due to order of locale definitions (#12393)

parent 24ea938c
No related branches found
No related tags found
No related merge requests found
......@@ -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' }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment