Commit af06fac1 authored by Martin Wortschack's avatar Martin Wortschack

Merge branch...

Merge branch '334290-devops-adoption-there-was-an-error-enabling-the-current-group-please-refresh-the-page' into 'master'

DevOps Adoption - ensure displayNamespaceId is included

See merge request gitlab-org/gitlab!64904
parents 7bb19bab ff142ead
...@@ -178,6 +178,7 @@ export default { ...@@ -178,6 +178,7 @@ export default {
mutation: bulkEnableDevopsAdoptionNamespacesMutation, mutation: bulkEnableDevopsAdoptionNamespacesMutation,
variables: { variables: {
namespaceIds: [this.groupGid], namespaceIds: [this.groupGid],
displayNamespaceId: this.groupGid,
}, },
update: (store, { data }) => { update: (store, { data }) => {
const { const {
......
...@@ -206,6 +206,7 @@ describe('DevopsAdoptionApp', () => { ...@@ -206,6 +206,7 @@ describe('DevopsAdoptionApp', () => {
expect(addSegmentMutationSpy).toHaveBeenCalledWith( expect(addSegmentMutationSpy).toHaveBeenCalledWith(
expect.objectContaining({ expect.objectContaining({
namespaceIds: [groupGid], namespaceIds: [groupGid],
displayNamespaceId: groupGid,
}), }),
); );
}); });
......
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