mirror of
https://github.com/woocommerce/woocommerce-paypal-payments.git
synced 2025-09-05 08:59:14 +08:00
Fix the tests
This commit is contained in:
parent
103a8911e0
commit
156acbf32c
3 changed files with 3 additions and 3 deletions
|
@ -16,7 +16,7 @@ class SettingsPagesAssetsTest extends TestCase
|
|||
$modulePath = '/var/www/html/wp-content/plugins/woocommerce-paypal-payments/modules/ppcp-wc-gateway';
|
||||
$subscriptionsHelper = Mockery::mock(SubscriptionHelper::class);
|
||||
|
||||
$testee = new SettingsPageAssets($moduleUrl, $modulePath, $subscriptionsHelper, '123', 'EUR', 'DE');
|
||||
$testee = new SettingsPageAssets($moduleUrl, $modulePath, $subscriptionsHelper, '123', 'EUR', 'DE', true);
|
||||
|
||||
when('is_admin')
|
||||
->justReturn(true);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue