Remove call to ProjectTeam#<< in MR API spec
This commit is contained in:
parent
ec94d906b7
commit
e21939fa44
1 changed files with 1 additions and 1 deletions
|
@ -585,7 +585,7 @@ describe API::MergeRequests do
|
|||
project = create(:project, public_builds: false)
|
||||
merge_request = create(:merge_request, :simple, source_project: project)
|
||||
guest = create(:user)
|
||||
project.team << [guest, :guest]
|
||||
project.add_guest(guest)
|
||||
|
||||
get api("/projects/#{project.id}/merge_requests/#{merge_request.iid}/pipelines", guest)
|
||||
|
||||
|
|
Loading…
Reference in a new issue