X-Git-Url: https://git.openstreetmap.org/rails.git/blobdiff_plain/768a792a6175215855518c378b49a41e7b10b503..d6f518f6279ddd8e07d8f78577b1414567fc6a5c:/test/helpers/browse_helper_test.rb diff --git a/test/helpers/browse_helper_test.rb b/test/helpers/browse_helper_test.rb index 7141cda60..8e46f6ff3 100644 --- a/test/helpers/browse_helper_test.rb +++ b/test/helpers/browse_helper_test.rb @@ -154,7 +154,7 @@ class BrowseHelperTest < ActionView::TestCase private - def current_user - nil + def preferred_languages + Locale.list(I18n.locale) end end