]> git.openstreetmap.org Git - rails.git/blobdiff - test/integration/user_creation_test.rb
Reset the locale after tests that may change it
[rails.git] / test / integration / user_creation_test.rb
index 64f298ba1367e1b6da3b3d31ef7f360f49b0c53b..622434e59e50ca56f70b7e339853116fb44bab5d 100644 (file)
@@ -4,10 +4,14 @@ class UserCreationTest < ActionDispatch::IntegrationTest
   fixtures :users
 
   def setup
+    I18n.locale = "en"
+
     OmniAuth.config.test_mode = true
   end
 
   def teardown
+    I18n.locale = "en"
+
     OmniAuth.config.mock_auth[:openid] = nil
     OmniAuth.config.test_mode = false
   end