spec/controllers/projects/group_links_controller_spec.rb is failing on master
1) Projects::GroupLinksController#create when user has access to group he want to link project to links project with selected group
Failure/Error: expect(group.shared_projects).to include project
expected #<ActiveRecord::Associations::CollectionProxy []> to include #<Project id:505 group63/project481>
Diff:
@@ -1,2 +1,2 @@
-[#<Project id:505 group63/project481>]
+[]
# ./spec/controllers/projects/group_links_controller_spec.rb:46:in `block (4 levels) in <top (required)>'
2) Projects::GroupLinksController#create when user has access to group he want to link project to redirects to project group links page
Failure/Error:
expect(response).to redirect_to(
project_project_members_path(project)
)
Expected response to be a <3XX: redirect>, but was a <404: Not Found>
# ./spec/controllers/projects/group_links_controller_spec.rb:50:in `block (4 levels) in <top (required)>'
3) Projects::GroupLinksController#create when project group id equal link group id redirects to project group links page
Failure/Error:
expect(response).to redirect_to(
project_project_members_path(project)
)
Expected response to be a <3XX: redirect>, but was a <404: Not Found>
# ./spec/controllers/projects/group_links_controller_spec.rb:99:in `block (4 levels) in <top (required)>'
(https://gitlab.com/gitlab-org/gitlab-ee/-/jobs/171850915)