You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Update test infrastructure for embedded checkout support
This commit updates the test infrastructure to support the new embedded
checkout interfaces while maintaining compatibility with existing tests.
CheckoutViewControllerTests changes:
- Updated MockCheckoutWebViewController initializations to include new parameters
- Added createEmptyCheckoutCompletedPayload() helper for embedded checkout tests
- Maintained backward compatibility with existing test methods
MockCheckoutWebViewDelegate changes:
- Added embedded checkout delegate method implementations
- Added properties to capture embedded checkout event payloads
- Added XCTestExpectation properties for embedded checkout event testing
- Maintained all existing legacy delegate method functionality
All existing tests continue to pass while new embedded checkout
functionality can be tested using the extended mock interfaces.
0 commit comments