@@ -160,26 +160,27 @@ class OrderStoreTests: XCTestCase {
160160//
161161private extension OrderStoreTests {
162162 func sampleOrder( ) -> Networking . Order {
163- return Networking . Order ( orderID: 963 ,
164- parentID: 0 ,
165- customerID: 11 ,
166- number: " 963 " ,
167- status: . processing,
168- currency: " USD " ,
169- customerNote: " " ,
170- dateCreated: date ( with: " 2018-04-03T23:05:12 " ) ,
171- dateModified: date ( with: " 2018-04-03T23:05:14 " ) ,
172- datePaid: date ( with: " 2018-04-03T23:05:14 " ) ,
173- discountTotal: " 30.00 " ,
174- discountTax: " 1.20 " ,
175- shippingTotal: " 0.00 " ,
176- shippingTax: " 0.00 " ,
177- total: " 31.20 " ,
178- totalTax: " 1.20 " ,
179- items: sampleItems ( ) ,
180- billingAddress: sampleAddress ( ) ,
181- shippingAddress: sampleAddress ( ) ,
182- coupons: sampleCoupons ( ) )
163+ return Order ( orderID: 963 ,
164+ parentID: 0 ,
165+ customerID: 11 ,
166+ number: " 963 " ,
167+ status: . processing,
168+ currency: " USD " ,
169+ customerNote: " " ,
170+ dateCreated: date ( with: " 2018-04-03T23:05:12 " ) ,
171+ dateModified: date ( with: " 2018-04-03T23:05:14 " ) ,
172+ datePaid: date ( with: " 2018-04-03T23:05:14 " ) ,
173+ discountTotal: " 30.00 " ,
174+ discountTax: " 1.20 " ,
175+ shippingTotal: " 0.00 " ,
176+ shippingTax: " 0.00 " ,
177+ total: " 31.20 " ,
178+ totalTax: " 1.20 " ,
179+ paymentMethodTitle: " Credit Card (Stripe) " ,
180+ items: sampleItems ( ) ,
181+ billingAddress: sampleAddress ( ) ,
182+ shippingAddress: sampleAddress ( ) ,
183+ coupons: sampleCoupons ( ) )
183184 }
184185
185186 func sampleAddress( ) -> Networking . Address {
0 commit comments