X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/bbd24879fde842bd00f0b5d7374c2f561b2a9d5b..113506bf5159bd06c218653a7d30d5a3c8d5c4e1:/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