File tree Expand file tree Collapse file tree 1 file changed +5
-5
lines changed
sample/ios/ReactNativeTests Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -321,7 +321,7 @@ class RCTCheckoutWebViewTests: XCTestCase {
321321 appliedGiftCards: [ ] ,
322322 discountAllocations: [ ] ,
323323 delivery: CartDelivery ( addresses: [ ] ) ,
324- payment: . init( instruments : [ ] )
324+ payment: . init( methods : [ ] )
325325 )
326326 let event = CheckoutStartEvent ( cart: cart, locale: " en-US " )
327327
@@ -589,18 +589,18 @@ private func createTestCart(
589589 appliedGiftCards: [ ] ,
590590 discountAllocations: [ ] ,
591591 delivery: . init( addresses: [ ] ) ,
592- payment: . init( instruments : [ ] )
592+ payment: . init( methods : [ ] )
593593 )
594594}
595595
596596/// Creates a CheckoutCompleteEvent for testing
597597private func createEmptyCheckoutCompleteEvent( id: String ) -> CheckoutCompleteEvent {
598598 return CheckoutCompleteEvent (
599599 orderConfirmation: OrderConfirmation (
600- url: " https://example.com/order " ,
601600 order: OrderConfirmation . Order ( id: id) ,
602- number: " 1001 " ,
603- isFirstOrder: true
601+ isFirstOrder: true ,
602+ url: " https://example.com/order " ,
603+ number: " 1001 "
604604 ) ,
605605 cart: createTestCart ( )
606606 )
You can’t perform that action at this time.
0 commit comments