spec failures for API::Namespaces GET /namespaces
Job #199522531 failed for 764b676a:
Failures:
1) API::Namespaces GET /namespaces when authenticated as admin returns correct attributes
Failure/Error:
expect(group_kind_json_response.keys).to contain_exactly('id', 'kind', 'name', 'path', 'full_path',
'parent_id', 'members_count_with_descendants',
'plan', 'shared_runners_minutes_limit',
'extra_shared_runners_minutes_limit', 'billable_members_count')
expected collection contained: ["billable_members_count", "extra_shared_runners_minutes_limit", "full_path", "id", "kind", "members_count_with_descendants", "name", "parent_id", "path", "plan", "shared_runners_minutes_limit"]
actual collection contained: ["avatar_url", "billable_members_count", "extra_shared_runners_minutes_limit", "full_path", "id", "ki...t_with_descendants", "name", "parent_id", "path", "plan", "shared_runners_minutes_limit", "web_url"]
the extra elements were: ["avatar_url", "web_url"]
# ./ee/spec/requests/api/namespaces_spec.rb:20:in `block (4 levels) in <top (required)>'
2) API::Namespaces GET /namespaces when authenticated as a regular user returns correct attributes when user can admin group
Failure/Error:
expect(owned_group_response.keys).to contain_exactly('id', 'kind', 'name', 'path', 'full_path',
'plan', 'parent_id', 'members_count_with_descendants',
'billable_members_count')
expected collection contained: ["billable_members_count", "full_path", "id", "kind", "members_count_with_descendants", "name", "parent_id", "path", "plan"]
actual collection contained: ["avatar_url", "billable_members_count", "full_path", "id", "kind", "members_count_with_descendants", "name", "parent_id", "path", "plan", "web_url"]
the extra elements were: ["avatar_url", "web_url"]
# ./ee/spec/requests/api/namespaces_spec.rb:39:in `block (4 levels) in <top (required)>'
3) API::Namespaces GET /namespaces when authenticated as a regular user returns correct attributes when user cannot admin group
Failure/Error:
expect(guest_group_response.keys).to contain_exactly('id', 'kind', 'name', 'path', 'full_path', 'parent_id',
'billable_members_count')
expected collection contained: ["billable_members_count", "full_path", "id", "kind", "name", "parent_id", "path"]
actual collection contained: ["avatar_url", "billable_members_count", "full_path", "id", "kind", "name", "parent_id", "path", "web_url"]
the extra elements were: ["avatar_url", "web_url"]
# ./ee/spec/requests/api/namespaces_spec.rb:51:in `block (4 levels) in <top (required)>'
introduced by gitlab-ce!27427 merge into EE