File tree Expand file tree Collapse file tree 2 files changed +0
-8
lines changed
app/code/Magento/Checkout/view/frontend/web/js/model/cart
dev/tests/js/jasmine/tests/app/code/Magento/Checkout/frontend/js/model/cart Expand file tree Collapse file tree 2 files changed +0
-8
lines changed Original file line number Diff line number Diff line change @@ -80,5 +80,4 @@ define([
80
80
quote . shippingAddress . subscribe ( estimateTotalsAndUpdateRates ) ;
81
81
quote . shippingMethod . subscribe ( estimateTotalsShipping ) ;
82
82
quote . billingAddress . subscribe ( estimateTotalsBilling ) ;
83
- customerData . get ( 'cart' ) . subscribe ( estimateTotalsShipping ) ;
84
83
} ) ;
Original file line number Diff line number Diff line change @@ -150,12 +150,5 @@ define([
150
150
} ) ;
151
151
expect ( mocks [ 'Magento_Checkout/js/model/cart/totals-processor/default' ] . estimateTotals ) . toHaveBeenCalled ( ) ;
152
152
} ) ;
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
- } ) ;
160
153
} ) ;
161
154
} ) ;
You can’t perform that action at this time.
0 commit comments