Skip to content

Commit

Permalink
fix integration tests
Browse files Browse the repository at this point in the history
  • Loading branch information
adriangmweb committed Mar 19, 2021
1 parent 353dd8e commit 300dbca
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,10 @@ describe('Entities end-to-end tests', () => {
sku
displayName
description
price
price {
cents
currency
}
availability
deleted
}
Expand All @@ -99,6 +102,7 @@ describe('Entities end-to-end tests', () => {
displayName: mockDisplayName,
description: mockDescription,
price: {
__typename: 'Money',
cents: mockPriceInCents,
currency: mockCurrency,
},
Expand Down Expand Up @@ -147,7 +151,10 @@ describe('Entities end-to-end tests', () => {
sku
displayName
description
price
price {
cents
currency
}
availability
deleted
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -221,7 +221,11 @@ describe('Read models end-to-end tests', () => {
CartReadModel(id: $cartId) {
id
cartItems
payment
payment {
cartId
confirmationToken
id
}
}
}
`,
Expand All @@ -241,6 +245,7 @@ describe('Read models end-to-end tests', () => {
},
],
payment: {
__typename: 'Payment',
confirmationToken: mockConfirmationToken,
id: mockPaymentId,
cartId: mockCartId,
Expand Down

0 comments on commit 300dbca

Please sign in to comment.