Load my account payments script only in its own page

This commit is contained in:
dinamiko 2021-09-23 11:22:31 +02:00
parent e78e81227a
commit 964936ee17
3 changed files with 26 additions and 9 deletions

View file

@ -10,6 +10,7 @@ use WooCommerce\PayPalCommerce\ApiClient\Factory\PaymentTokenFactory;
use WooCommerce\PayPalCommerce\TestCase;
use Mockery;
use Mockery\Adapter\Phpunit\MockeryPHPUnitIntegration;
use WooCommerce\PayPalCommerce\Vaulting\PaymentTokenRepository;
use function Brain\Monkey\Functions\expect;
use function Brain\Monkey\Functions\when;