Skip to content

Commit

Permalink
Merge branch 'develop' into chore/to-remote-joiner-query
Browse files Browse the repository at this point in the history
  • Loading branch information
kodiakhq[bot] authored Sep 10, 2023
2 parents 274b6b4 + 7a12aa0 commit 821c4e5
Show file tree
Hide file tree
Showing 148 changed files with 3,121 additions and 811 deletions.
5 changes: 0 additions & 5 deletions .changeset/bright-apples-prove.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/brown-lions-cross.md

This file was deleted.

6 changes: 0 additions & 6 deletions .changeset/cool-pears-trade.md

This file was deleted.

6 changes: 0 additions & 6 deletions .changeset/friendly-months-attack.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/gorgeous-bugs-reply.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/great-months-train.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/hot-tools-breathe.md

This file was deleted.

8 changes: 0 additions & 8 deletions .changeset/itchy-worms-press.md

This file was deleted.

6 changes: 0 additions & 6 deletions .changeset/nine-glasses-allow.md

This file was deleted.

7 changes: 0 additions & 7 deletions .changeset/odd-coats-learn.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/olive-years-heal.md

This file was deleted.

7 changes: 0 additions & 7 deletions .changeset/poor-ants-deliver.md

This file was deleted.

9 changes: 0 additions & 9 deletions .changeset/selfish-needles-beg.md

This file was deleted.

8 changes: 0 additions & 8 deletions .changeset/selfish-trees-sip.md

This file was deleted.

6 changes: 0 additions & 6 deletions .changeset/stale-games-marry.md

This file was deleted.

7 changes: 0 additions & 7 deletions .changeset/strange-wombats-invite.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/tough-baboons-shop.md

This file was deleted.

13 changes: 0 additions & 13 deletions .changeset/warm-bikes-enjoy.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/warm-worms-wave.md

This file was deleted.

8 changes: 0 additions & 8 deletions .changeset/young-teachers-sit.md

This file was deleted.

39 changes: 36 additions & 3 deletions integration-tests/api/__tests__/store/cart/cart.js
Original file line number Diff line number Diff line change
Expand Up @@ -556,6 +556,7 @@ describe("/store/carts", () => {
{
id: "test-li",
variant_id: "test-variant",
product_id: "test-product",
quantity: 1,
unit_price: 100,
adjustments: [
Expand Down Expand Up @@ -644,6 +645,7 @@ describe("/store/carts", () => {
id: "line-item-2",
cart_id: discountCart.id,
variant_id: "test-variant-quantity",
product_id: "test-product",
unit_price: 950,
quantity: 1,
adjustments: [
Expand Down Expand Up @@ -713,6 +715,7 @@ describe("/store/carts", () => {
id: "line-item-2",
cart_id: discountCart.id,
variant_id: "test-variant-quantity",
product_id: "test-product",
unit_price: 1000,
quantity: 1,
adjustments: [
Expand Down Expand Up @@ -804,6 +807,7 @@ describe("/store/carts", () => {
unit_price: 1000,
quantity: 1,
variant_id: "test-variant-quantity",
product_id: "test-product",
cart_id: "test-cart-w-total-fixed-discount",
})

Expand Down Expand Up @@ -847,6 +851,7 @@ describe("/store/carts", () => {
unit_price: 1000,
quantity: 1,
variant_id: "test-variant-quantity",
product_id: "test-product",
cart_id: "test-cart-w-total-percentage-discount",
})

Expand Down Expand Up @@ -890,6 +895,7 @@ describe("/store/carts", () => {
unit_price: 1000,
quantity: 1,
variant_id: "test-variant-quantity",
product_id: "test-product",
cart_id: "test-cart-w-item-fixed-discount",
})

Expand Down Expand Up @@ -933,6 +939,7 @@ describe("/store/carts", () => {
unit_price: 1000,
quantity: 1,
variant_id: "test-variant-quantity",
product_id: "test-product",
cart_id: "test-cart-w-item-percentage-discount",
})

Expand Down Expand Up @@ -1050,6 +1057,7 @@ describe("/store/carts", () => {
line_items: [
{
variant_id: "test-variant",
product_id: "test-product",
unit_price: 100,
},
],
Expand Down Expand Up @@ -1110,6 +1118,7 @@ describe("/store/carts", () => {
line_items: [
{
variant_id: "test-variant",
product_id: "test-product",
unit_price: 100,
},
],
Expand Down Expand Up @@ -1260,6 +1269,7 @@ describe("/store/carts", () => {
line_items: [
{
variant_id: "test-variant",
product_id: "test-product",
unit_price: 100,
},
],
Expand Down Expand Up @@ -1327,6 +1337,7 @@ describe("/store/carts", () => {
line_items: [
{
variant_id: "test-variant",
product_id: "test-product",
unit_price: 100,
},
],
Expand Down Expand Up @@ -1387,6 +1398,7 @@ describe("/store/carts", () => {
line_items: [
{
variant_id: "test-variant",
product_id: "test-product",
unit_price: 100,
},
],
Expand Down Expand Up @@ -1457,6 +1469,7 @@ describe("/store/carts", () => {
line_items: [
{
variant_id: "test-variant",
product_id: "test-product",
unit_price: 100,
},
],
Expand Down Expand Up @@ -2207,6 +2220,7 @@ describe("/store/carts", () => {
line_items: [
{
variant_id: product.variants[0].id,
product_id: product.id,
quantity: 1,
unit_price: 1000,
},
Expand Down Expand Up @@ -2251,6 +2265,7 @@ describe("/store/carts", () => {
line_items: [
{
variant_id: product.variants[0].id,
product_id: product.id,
quantity: 1,
unit_price: 1000,
},
Expand Down Expand Up @@ -2702,7 +2717,13 @@ describe("/store/carts", () => {
const product = await simpleProductFactory(dbConnection)
const cart = await simpleCartFactory(dbConnection, {
region: region.id,
line_items: [{ variant_id: product.variants[0].id, quantity: 1 }],
line_items: [
{
variant_id: product.variants[0].id,
product_id: product.id,
quantity: 1,
},
],
shipping_address: {
country_code: "us",
},
Expand Down Expand Up @@ -2737,7 +2758,13 @@ describe("/store/carts", () => {
const product = await simpleProductFactory(dbConnection)
const cart = await simpleCartFactory(dbConnection, {
region: region.id,
line_items: [{ variant_id: product.variants[0].id, quantity: 1 }],
line_items: [
{
variant_id: product.variants[0].id,
product_id: product.id,
quantity: 1,
},
],
})
await simpleShippingOptionFactory(dbConnection, {
region_id: region.id,
Expand Down Expand Up @@ -2769,7 +2796,13 @@ describe("/store/carts", () => {
const product = await simpleProductFactory(dbConnection)
const cart = await simpleCartFactory(dbConnection, {
region: region.id,
line_items: [{ variant_id: product.variants[0].id, quantity: 1 }],
line_items: [
{
variant_id: product.variants[0].id,
product_id: product.id,
quantity: 1,
},
],
})
await simpleShippingOptionFactory(dbConnection, {
region_id: region.id,
Expand Down
Loading

0 comments on commit 821c4e5

Please sign in to comment.