Update TestHooks services
Extracted from #382357 (closed) to simplify the issue flow.
Problem
Described in the related issue.
Step 2: Update TestHooks services
Proposal
Update the WebHooks::HookLogActions
class to compare URLs (something like the following):
if Digest::SHA256.hexdigest(hook.interpolated_url) == hook_log.url_hash
execute_hook
else
flash[:notice] = 'The URL has changed, and this log entry cannot be retried'
end