mirror of
https://github.com/woocommerce/woocommerce-paypal-payments.git
synced 2025-09-05 08:59:14 +08:00
Fix unit tests
This commit is contained in:
parent
9b16d92565
commit
3fde81bb80
2 changed files with 2 additions and 1 deletions
|
@ -94,7 +94,7 @@ class IdentityTokenTest extends TestCase
|
|||
$this->bearer
|
||||
->expects('bearer')->andReturn($token);
|
||||
|
||||
expect('wp_remote_get')->andReturn();
|
||||
expect('wp_remote_get')->andReturn(['body' => '',]);
|
||||
expect('is_wp_error')->andReturn(false);
|
||||
expect('wp_remote_retrieve_response_code')->andReturn(500);
|
||||
$this->logger->shouldReceive('log');
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue