Skip to content

Commit 91af2eb

Browse files
author
Oleksandr Dubovyk
committed
Merge remote-tracking branch 'local/MC-38746' into PR17november
2 parents 25c9fc8 + 55172bf commit 91af2eb

File tree

2 files changed

+0
-8
lines changed

2 files changed

+0
-8
lines changed

app/code/Magento/Checkout/view/frontend/web/js/model/cart/estimate-service.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,5 +80,4 @@ define([
8080
quote.shippingAddress.subscribe(estimateTotalsAndUpdateRates);
8181
quote.shippingMethod.subscribe(estimateTotalsShipping);
8282
quote.billingAddress.subscribe(estimateTotalsBilling);
83-
customerData.get('cart').subscribe(estimateTotalsShipping);
8483
});

dev/tests/js/jasmine/tests/app/code/Magento/Checkout/frontend/js/model/cart/estimate-service.test.js

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -150,12 +150,5 @@ define([
150150
});
151151
expect(mocks['Magento_Checkout/js/model/cart/totals-processor/default'].estimateTotals).toHaveBeenCalled();
152152
});
153-
154-
it('test subscribe when cart data was changed', function () {
155-
mocks['Magento_Customer/js/customer-data'].get('cart')({
156-
dataId: 2
157-
});
158-
expect(mocks['Magento_Checkout/js/model/cart/totals-processor/default'].estimateTotals).toHaveBeenCalled();
159-
});
160153
});
161154
});

0 commit comments

Comments
 (0)