X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/7d9d496da2a66c0a56aadd1bab72ede1a1b0359c..b690feba15905eaddc451560f0f1379b5f19b511:/test/controllers/user_controller_test.rb diff --git a/test/controllers/user_controller_test.rb b/test/controllers/user_controller_test.rb index 686a86070..87fb99a6f 100644 --- a/test/controllers/user_controller_test.rb +++ b/test/controllers/user_controller_test.rb @@ -1045,6 +1045,7 @@ class UserControllerTest < ActionController::TestCase def test_api_details create(:message, :read, :recipient => users(:normal_user)) + create(:message, :sender => users(:normal_user)) # check that nothing is returned when not logged in get :api_details