mirror of
https://github.com/woocommerce/woocommerce-paypal-payments.git
synced 2025-09-05 08:59:14 +08:00
Merge branch 'trunk' into PCP-1745-real-time-account-updater-rtau
This commit is contained in:
commit
821e425944
39 changed files with 3845 additions and 246 deletions
|
@ -3,6 +3,7 @@
|
|||
namespace WooCommerce\PayPalCommerce\WcGateway\Assets;
|
||||
|
||||
use WooCommerce\PayPalCommerce\ApiClient\Authentication\Bearer;
|
||||
use WooCommerce\PayPalCommerce\ApiClient\Endpoint\BillingAgreementsEndpoint;
|
||||
use WooCommerce\PayPalCommerce\Onboarding\Environment;
|
||||
use WooCommerce\PayPalCommerce\WcSubscriptions\Helper\SubscriptionHelper;
|
||||
use WooCommerce\PayPalCommerce\TestCase;
|
||||
|
@ -16,6 +17,8 @@ class SettingsPagesAssetsTest extends TestCase
|
|||
$moduleUrl = 'http://example.com/wp-content/plugins/woocommerce-paypal-payments/modules/ppcp-wc-gateway';
|
||||
$modulePath = '/var/www/html/wp-content/plugins/woocommerce-paypal-payments/modules/ppcp-wc-gateway';
|
||||
$subscriptionsHelper = Mockery::mock(SubscriptionHelper::class);
|
||||
$billingAgreementEndpoint = Mockery::mock(BillingAgreementsEndpoint::class);
|
||||
|
||||
|
||||
$testee = new SettingsPageAssets(
|
||||
$moduleUrl,
|
||||
|
@ -29,7 +32,8 @@ class SettingsPagesAssetsTest extends TestCase
|
|||
array(),
|
||||
array(),
|
||||
true,
|
||||
false
|
||||
false,
|
||||
$billingAgreementEndpoint
|
||||
);
|
||||
|
||||
when('is_admin')
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue