mirror of
https://github.com/woocommerce/woocommerce-paypal-payments.git
synced 2025-08-30 05:00:51 +08:00
✅ Test new contact_preference property
This commit is contained in:
parent
5e89a2a969
commit
a51da614b7
1 changed files with 3 additions and 1 deletions
|
@ -19,7 +19,8 @@ class ExperienceContextTest extends TestCase
|
|||
->with_landing_page('NO_PREFERENCE')
|
||||
->with_shipping_preference('NO_SHIPPING')
|
||||
->with_user_action('CONTINUE')
|
||||
->with_payment_method_preference('UNRESTRICTED');
|
||||
->with_payment_method_preference('UNRESTRICTED')
|
||||
->with_contact_preference('NO_CONTACT_INFO');
|
||||
|
||||
$this->assertEmpty($empty->to_array());
|
||||
|
||||
|
@ -32,6 +33,7 @@ class ExperienceContextTest extends TestCase
|
|||
'shipping_preference' => 'NO_SHIPPING',
|
||||
'user_action' => 'CONTINUE',
|
||||
'payment_method_preference' => 'UNRESTRICTED',
|
||||
'contact_preference' => 'NO_CONTACT_INFO',
|
||||
], $result->to_array());
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue