Update fixtures

This commit is contained in:
dominik-zeglen 2020-09-03 13:56:31 +02:00
parent 488a2a02ff
commit 1e1bb03b4e
2 changed files with 5 additions and 0 deletions

View file

@ -1264,8 +1264,10 @@ export const draftOrder = (placeholder: string): OrderDetails_order => ({
} }
} }
], ],
metadata: [],
number: "24", number: "24",
paymentStatus: null, paymentStatus: null,
privateMetadata: [],
shippingAddress: null, shippingAddress: null,
shippingMethod: null, shippingMethod: null,
shippingMethodName: null, shippingMethodName: null,

View file

@ -19,6 +19,7 @@ const order = orderFixture(placeholderImage);
const props: Omit<OrderDetailsPageProps, "classes"> = { const props: Omit<OrderDetailsPageProps, "classes"> = {
countries, countries,
disabled: false,
onBack: () => undefined, onBack: () => undefined,
onBillingAddressEdit: undefined, onBillingAddressEdit: undefined,
onFulfillmentCancel: () => undefined, onFulfillmentCancel: () => undefined,
@ -36,7 +37,9 @@ const props: Omit<OrderDetailsPageProps, "classes"> = {
onProductClick: undefined, onProductClick: undefined,
onProfileView: () => undefined, onProfileView: () => undefined,
onShippingAddressEdit: undefined, onShippingAddressEdit: undefined,
onSubmit: () => undefined,
order, order,
saveButtonBarState: "default",
userPermissions: adminUserPermissions userPermissions: adminUserPermissions
}; };