mirror of
https://github.com/woocommerce/woocommerce-paypal-payments.git
synced 2025-09-05 08:59:14 +08:00
Fix phpunit
This commit is contained in:
parent
5f299b2939
commit
f66c2322fd
4 changed files with 8 additions and 2 deletions
|
@ -46,6 +46,7 @@ class WcGatewayTest extends TestCase
|
|||
expect('is_admin')->andReturnUsing(function () {
|
||||
return $this->isAdmin;
|
||||
});
|
||||
when('wc_clean')->returnArg();
|
||||
|
||||
$this->settingsRenderer = Mockery::mock(SettingsRenderer::class);
|
||||
$this->orderProcessor = Mockery::mock(OrderProcessor::class);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue