]> git.openstreetmap.org Git - rails.git/blobdiff - test/helpers/browse_helper_test.rb
Merge remote-tracking branch 'upstream/pull/2709'
[rails.git] / test / helpers / browse_helper_test.rb
index 7141cda6038747661a7eff929e71e54dd72a2168..8e46f6ff3ca28fbdf2c9b3a199fa864ab12672d4 100644 (file)
@@ -154,7 +154,7 @@ class BrowseHelperTest < ActionView::TestCase
 
   private
 
-  def current_user
-    nil
+  def preferred_languages
+    Locale.list(I18n.locale)
   end
 end