X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/7d9d496da2a66c0a56aadd1bab72ede1a1b0359c..1a1d924ae060f82567599b25b090a729d5c721e9:/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