Skip to content

Commit

Permalink
Update fixtures
Browse files Browse the repository at this point in the history
  • Loading branch information
dominik-zeglen committed Sep 3, 2020
1 parent 6e5e9ab commit b417221
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/orders/fixtures.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1157,8 +1157,10 @@ export const draftOrder = (placeholder: string): OrderDetails_order => ({
}
}
],
metadata: [],
number: "24",
paymentStatus: null,
privateMetadata: [],
shippingAddress: null,
shippingMethod: null,
shippingMethodName: null,
Expand Down
3 changes: 3 additions & 0 deletions src/storybook/stories/orders/OrderDetailsPage.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ const order = orderFixture(placeholderImage);

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

Expand Down

0 comments on commit b417221

Please sign in to comment.