mirror of
https://github.com/woocommerce/woocommerce-paypal-payments.git
synced 2025-08-30 05:00:51 +08:00
Fix test
This commit is contained in:
parent
a31ae1da77
commit
17b3ed8b41
1 changed files with 3 additions and 3 deletions
|
@ -136,7 +136,7 @@ class PayPalBearerTest extends TestCase
|
|||
$key = 'key';
|
||||
$secret = 'secret';
|
||||
$logger = Mockery::mock(LoggerInterface::class);
|
||||
$logger->shouldNotReceive('log');
|
||||
$logger->shouldNotReceive('warning');
|
||||
$settings = Mockery::mock(Settings::class);
|
||||
$settings->shouldReceive('has')->andReturn(true);
|
||||
$settings->shouldReceive('get')->andReturn('');
|
||||
|
@ -159,7 +159,7 @@ class PayPalBearerTest extends TestCase
|
|||
$key = 'key';
|
||||
$secret = 'secret';
|
||||
$logger = Mockery::mock(LoggerInterface::class);
|
||||
$logger->shouldReceive('log');
|
||||
$logger->shouldReceive('warning');
|
||||
$logger->shouldReceive('debug');
|
||||
$settings = Mockery::mock(Settings::class);
|
||||
$settings->shouldReceive('has')->andReturn(true);
|
||||
|
@ -209,7 +209,7 @@ class PayPalBearerTest extends TestCase
|
|||
$key = 'key';
|
||||
$secret = 'secret';
|
||||
$logger = Mockery::mock(LoggerInterface::class);
|
||||
$logger->shouldReceive('log');
|
||||
$logger->shouldReceive('warning');
|
||||
$logger->shouldReceive('debug');
|
||||
$settings = Mockery::mock(Settings::class);
|
||||
$settings->shouldReceive('has')->andReturn(true);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue