Merge pull request #375 from woocommerce/issue-174-vaulting-pay-later-ux

Enhance the UX of the Pay Later and Vaulting features
This commit is contained in:
Emili Castells 2022-05-17 16:25:33 +02:00 committed by GitHub
commit 79db7cfbfc
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
6 changed files with 97 additions and 87 deletions

View file

@ -13,9 +13,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';
$bearer = Mockery::mock(Bearer::class);
$testee = new SettingsPageAssets($moduleUrl, $modulePath, $bearer);
$testee = new SettingsPageAssets($moduleUrl, $modulePath);
when('is_admin')
->justReturn(true);