File tree Expand file tree Collapse file tree 1 file changed +20
-19
lines changed
Yosemite/YosemiteTests/Stores Expand file tree Collapse file tree 1 file changed +20
-19
lines changed Original file line number Diff line number Diff line change @@ -927,25 +927,26 @@ private extension OrderStoreTests {
927927 }
928928
929929 func sampleOrderTaxLinesMutated( ) -> [ Networking . OrderTaxLine ] {
930- let tax1 = OrderTaxLine ( taxID: 1330 ,
931- rateCode: " US-NY-STATE-2 " ,
932- rateID: 6 ,
933- label: " State " ,
934- isCompoundTaxRate: true ,
935- totalTax: " 55 " ,
936- totalShippingTax: " 0.00 " ,
937- ratePercent: 5.5 ,
938- attributes: [ ] )
939- let tax2 = OrderTaxLine ( taxID: 124 ,
940- rateCode: " " ,
941- rateID: 2 ,
942- label: " Central " ,
943- isCompoundTaxRate: true ,
944- totalTax: " 2.5 " ,
945- totalShippingTax: " 3 " ,
946- ratePercent: 2.5 ,
947- attributes: [ ] )
948- return [ tax1, tax2]
930+ [
931+ . init( taxID: 1330 ,
932+ rateCode: " US-NY-STATE-2 " ,
933+ rateID: 6 ,
934+ label: " State " ,
935+ isCompoundTaxRate: true ,
936+ totalTax: " 55 " ,
937+ totalShippingTax: " 0.00 " ,
938+ ratePercent: 5.5 ,
939+ attributes: [ ] ) ,
940+ . init( taxID: 124 ,
941+ rateCode: " " ,
942+ rateID: 2 ,
943+ label: " Central " ,
944+ isCompoundTaxRate: true ,
945+ totalTax: " 2.5 " ,
946+ totalShippingTax: " 3 " ,
947+ ratePercent: 2.5 ,
948+ attributes: [ ] )
949+ ]
949950 }
950951
951952 func sampleItems( ) -> [ Networking . OrderItem ] {
You can’t perform that action at this time.
0 commit comments