This commit is contained in:
Alex P. 2024-11-06 09:22:34 +02:00
parent a31ae1da77
commit 17b3ed8b41
No known key found for this signature in database
GPG key ID: 54487A734A204D71

View file

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