Skip to content

Commit e8c8293

Browse files
committed
MC-18191: Customer cart section on reloads each web transaction
1 parent a2d7094 commit e8c8293

File tree

1 file changed

+1
-1
lines changed
  • dev/tests/js/jasmine/tests/app/code/Magento/Checkout/frontend/js/model/cart/totals-processor

1 file changed

+1
-1
lines changed

dev/tests/js/jasmine/tests/app/code/Magento/Checkout/frontend/js/model/cart/totals-processor/default.test.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -115,7 +115,7 @@ define([
115115
return deferral.resolve(result);
116116
});
117117
expect(defaultProcessor.estimateTotals(address)).toBe(deferral);
118-
expect(mocks['Magento_Checkout/js/model/quote'].setTotals).toHaveBeenCalledWith(totals);
118+
expect(mocks['Magento_Checkout/js/model/quote'].setTotals).toHaveBeenCalledWith(result);
119119
expect(mocks['Magento_Checkout/js/model/totals'].isLoading.calls.argsFor(0)[0]).toBe(true);
120120
expect(mocks['Magento_Checkout/js/model/totals'].isLoading.calls.argsFor(1)[0]).toBe(false);
121121
expect(mocks['mage/storage'].post).toHaveBeenCalled();

0 commit comments

Comments
 (0)