mirror of
https://github.com/woocommerce/woocommerce-paypal-payments.git
synced 2025-09-05 08:59:14 +08:00
Do not send buyer-country for previews in live mode to avoid error
This commit is contained in:
parent
ec04c02b3d
commit
3439f67ec9
4 changed files with 20 additions and 2 deletions
|
@ -3,6 +3,7 @@
|
|||
namespace WooCommerce\PayPalCommerce\WcGateway\Assets;
|
||||
|
||||
use WooCommerce\PayPalCommerce\ApiClient\Authentication\Bearer;
|
||||
use WooCommerce\PayPalCommerce\Onboarding\Environment;
|
||||
use WooCommerce\PayPalCommerce\Subscription\Helper\SubscriptionHelper;
|
||||
use WooCommerce\PayPalCommerce\TestCase;
|
||||
use function Brain\Monkey\Functions\when;
|
||||
|
@ -23,6 +24,7 @@ class SettingsPagesAssetsTest extends TestCase
|
|||
'123',
|
||||
'EUR',
|
||||
'DE',
|
||||
Mockery::mock(Environment::class),
|
||||
true,
|
||||
array(),
|
||||
array()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue