Commit d63db952 authored by mc_rocha's avatar mc_rocha

Update invalid target url test

parent 4dd4eb62
......@@ -59,7 +59,7 @@ RSpec.describe AppSec::Dast::SiteTokens::FindOrCreateService do
let_it_be(:target_url) { 'http://bogus:broken' }
it 'communicates failure' do
expect(subject).to have_attributes(status: :error, message: 'Invalid target_url')
expect(subject).to have_attributes(status: :error, message: ['Url is blocked: URI is invalid'])
end
it 'does not create a dast_site_validation' do
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment