Commit ff142ead authored by Brandon Labuschagne's avatar Brandon Labuschagne

Ensure displayNamespaceID is included

in the DevOps Adoption feature, specifically
for then enabling a group for the
first time

Changelog: fixed
EE: true
parent 7771b31b
...@@ -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