Commit cd73cc9e authored by Stan Hu's avatar Stan Hu

Improve DAST site profile test readability

This is a minor improvement in
`ee/spec/graphql/resolvers/dast_site_profile_resolver_spec.rb`.
parent ebdb3c04
......@@ -14,9 +14,9 @@ RSpec.describe Resolvers::DastSiteProfileResolver do
let_it_be(:dast_site_profile1) { create(:dast_site_profile, project: project) }
let_it_be(:dast_site_profile2) { create(:dast_site_profile, project: project) }
let_it_be(:dast_site_profile3) do
create(:dast_site_profile, project: project,
dast_site: create(:dast_site, project: project,
url: 'https://site1.com/, https://site2.com/'))
dast_site = create(:dast_site, project: project, url: 'https://site1.com/, https://site2.com/')
create(:dast_site_profile, project: project, dast_site: dast_site)
end
let(:current_user) { developer }
......
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