Fix the tests

This commit is contained in:
Narek Zakarian 2022-11-02 19:06:17 +04:00
parent 103a8911e0
commit 156acbf32c
3 changed files with 3 additions and 3 deletions

View file

@ -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);