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 {
mutation: bulkEnableDevopsAdoptionNamespacesMutation,
variables: {
namespaceIds: [this.groupGid],
displayNamespaceId: this.groupGid,
},
update: (store, { data }) => {
const {
......
......@@ -206,6 +206,7 @@ describe('DevopsAdoptionApp', () => {
expect(addSegmentMutationSpy).toHaveBeenCalledWith(
expect.objectContaining({
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