@@ -1088,30 +1088,42 @@ public static function calculateTaxTaxInclDataProvider()
1088
1088
$ productInclTaxWithoutStoreIdWithoutTaxClassId = $ productTaxInclBase ;
1089
1089
1090
1090
$ productInclTaxWithStoreIdWithTaxClassId ['storeId ' ] = 1 ;
1091
- $ productInclTaxWithStoreIdWithTaxClassId ['quoteDetailsData ' ]['items ' ][] = $ quoteDetailTaxInclItemWithDefaultProductTaxClass ;
1091
+ $ productInclTaxWithStoreIdWithTaxClassId ['quoteDetailsData ' ]['items ' ][] =
1092
+ $ quoteDetailTaxInclItemWithDefaultProductTaxClass ;
1092
1093
$ productInclTaxWithStoreIdWithTaxClassId ['expectedTaxDetails ' ]['tax_amount ' ] = 0.70 ;
1093
1094
$ productInclTaxWithStoreIdWithTaxClassId ['expectedTaxDetails ' ]['subtotal ' ] = 9.30 ;
1094
1095
$ productInclTaxWithStoreIdWithTaxClassId ['expectedTaxDetails ' ]['applied_taxes ' ] = $ quoteDetailAppliedTaxesBase ;
1095
- $ productInclTaxWithStoreIdWithTaxClassId ['expectedTaxDetails ' ]['items ' ] = $ productTaxInclExpectedItemWithDefaultProductTaxClass ;
1096
+ $ productInclTaxWithStoreIdWithTaxClassId ['expectedTaxDetails ' ]['items ' ] =
1097
+ $ productTaxInclExpectedItemWithDefaultProductTaxClass ;
1096
1098
1097
1099
$ productInclTaxWithStoreIdWithoutTaxClassId ['storeId ' ] = 1 ;
1098
1100
$ productInclTaxWithStoreIdWithoutTaxClassId ['quoteDetailsData ' ]['items ' ][] = $ productTaxInclQuoteDetailItemBase ;
1099
- $ productInclTaxWithStoreIdWithoutTaxClassId ['expectedTaxDetails ' ]['items ' ] = $ productTaxInclExpectedItemWithNoProductTaxClass ;
1101
+ $ productInclTaxWithStoreIdWithoutTaxClassId ['expectedTaxDetails ' ]['items ' ] =
1102
+ $ productTaxInclExpectedItemWithNoProductTaxClass ;
1100
1103
1101
- $ productInclTaxWithoutStoreIdWithTaxClassId ['quoteDetailsData ' ]['items ' ][] = $ quoteDetailTaxInclItemWithDefaultProductTaxClass ;
1104
+ $ productInclTaxWithoutStoreIdWithTaxClassId ['quoteDetailsData ' ]['items ' ][] =
1105
+ $ quoteDetailTaxInclItemWithDefaultProductTaxClass ;
1102
1106
$ productInclTaxWithoutStoreIdWithTaxClassId ['expectedTaxDetails ' ]['tax_amount ' ] = 0.70 ;
1103
1107
$ productInclTaxWithoutStoreIdWithTaxClassId ['expectedTaxDetails ' ]['subtotal ' ] = 9.30 ;
1104
- $ productInclTaxWithoutStoreIdWithTaxClassId ['expectedTaxDetails ' ]['applied_taxes ' ] = $ quoteDetailAppliedTaxesBase ;
1105
- $ productInclTaxWithoutStoreIdWithTaxClassId ['expectedTaxDetails ' ]['items ' ] = $ productTaxInclExpectedItemWithDefaultProductTaxClass ;
1108
+ $ productInclTaxWithoutStoreIdWithTaxClassId ['expectedTaxDetails ' ]['applied_taxes ' ] =
1109
+ $ quoteDetailAppliedTaxesBase ;
1110
+ $ productInclTaxWithoutStoreIdWithTaxClassId ['expectedTaxDetails ' ]['items ' ] =
1111
+ $ productTaxInclExpectedItemWithDefaultProductTaxClass ;
1106
1112
1107
- $ productInclTaxWithoutStoreIdWithoutTaxClassId ['quoteDetailsData ' ]['items ' ][] = $ productTaxInclQuoteDetailItemBase ;
1108
- $ productInclTaxWithoutStoreIdWithoutTaxClassId ['expectedTaxDetails ' ]['items ' ] = $ productTaxInclExpectedItemWithNoProductTaxClass ;
1113
+ $ productInclTaxWithoutStoreIdWithoutTaxClassId ['quoteDetailsData ' ]['items ' ][] =
1114
+ $ productTaxInclQuoteDetailItemBase ;
1115
+ $ productInclTaxWithoutStoreIdWithoutTaxClassId ['expectedTaxDetails ' ]['items ' ] =
1116
+ $ productTaxInclExpectedItemWithNoProductTaxClass ;
1109
1117
1110
1118
return [
1111
- 'product incl tax with store id, with tax class id ' => $ productInclTaxWithStoreIdWithTaxClassId ,
1112
- 'product incl tax with store id, without tax class id ' => $ productInclTaxWithStoreIdWithoutTaxClassId ,
1113
- 'product incl tax without store id, with tax class id ' => $ productInclTaxWithoutStoreIdWithTaxClassId ,
1114
- 'product incl tax without store id, without tax class id ' => $ productInclTaxWithoutStoreIdWithoutTaxClassId ,
1119
+ 'product incl tax with store id, with tax class id ' =>
1120
+ $ productInclTaxWithStoreIdWithTaxClassId ,
1121
+ 'product incl tax with store id, without tax class id ' =>
1122
+ $ productInclTaxWithStoreIdWithoutTaxClassId ,
1123
+ 'product incl tax without store id, with tax class id ' =>
1124
+ $ productInclTaxWithoutStoreIdWithTaxClassId ,
1125
+ 'product incl tax without store id, without tax class id ' =>
1126
+ $ productInclTaxWithoutStoreIdWithoutTaxClassId ,
1115
1127
];
1116
1128
}
1117
1129
0 commit comments