Commit d706c135 authored by Kushal Pandya's avatar Kushal Pandya

Merge branch...

Merge branch '342974-failure-in-ee-browser_ui-fulfillment-purchase-purchase_ci_spec-rb-purchase-ci-minutes-adds' into 'master'

Missing selected group params causes wrong assignment of

See merge request gitlab-org/gitlab!72709
parents 96700b40 3a9e36d6
......@@ -37,7 +37,7 @@ export default {
const { customer } = data;
return {
setup_for_company: data.isSetupForCompany,
selected_group: data.subscription.namespaceId,
selected_group: data.selectedNamespaceId,
new_user: data.isNewUser,
redirect_after_success: data.redirectAfterSuccess,
customer: {
......
......@@ -76,7 +76,7 @@ describe('Confirm Order', () => {
expect(Api.confirmOrder).toHaveBeenCalledTimes(1);
expect(Api.confirmOrder.mock.calls[0][0]).toMatchObject({
setup_for_company: true,
selected_group: undefined,
selected_group: '30',
new_user: false,
redirect_after_success: '/path/to/redirect/',
customer: {
......
......@@ -38,7 +38,7 @@ export const stateData = {
__typename: 'Subscription',
},
redirectAfterSuccess: '/path/to/redirect/',
selectedNamespaceId: null,
selectedNamespaceId: '30',
selectedPlanId: null,
paymentMethod: {
id: null,
......
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