Commit f20af4e3 authored by Rémy Coutable's avatar Rémy Coutable

Merge branch 'use-non-existing-user-id-in-designs-service-spec' into 'master'

Fix order-dependent DesignManagement::SaveDesignsService spec

See merge request gitlab-org/gitlab!57127
parents df3f1fd7 68a23bff
......@@ -309,7 +309,7 @@ RSpec.describe DesignManagement::SaveDesignsService do
end
context 'when the user is not allowed to upload designs' do
let(:user) { build_stubbed(:user) }
let(:user) { build_stubbed(:user, id: non_existing_record_id) }
it_behaves_like 'a service error'
end
......
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