Allow thirdparty images on failed diary comment saves

This commit is contained in:
Anton Khorev 2025-01-05 09:55:48 +03:00
parent 201796cced
commit 11b887c118
2 changed files with 2 additions and 1 deletions

View file

@ -104,6 +104,7 @@ class DiaryCommentsControllerTest < ActionDispatch::IntegrationTest
end
assert_response :success
assert_template :new
assert_match(/img-src \* data:;/, @response.headers["Content-Security-Policy-Report-Only"])
# Now try again with the right id
assert_difference "ActionMailer::Base.deliveries.size", entry.subscribers.count do