mirror of
https://github.com/woocommerce/woocommerce-paypal-payments.git
synced 2025-09-05 08:59:14 +08:00
fix tests
This commit is contained in:
parent
5e39de1247
commit
cd54a96981
2 changed files with 2 additions and 2 deletions
|
@ -73,7 +73,7 @@ class ChangeCartEndpointTest extends TestCase
|
|||
|
||||
expect('wp_send_json_success')
|
||||
->with($responseExpectation);
|
||||
$this->assertTrue($testee->handleRequest());
|
||||
$this->assertTrue($testee->handle_request());
|
||||
}
|
||||
|
||||
public function dataForTestProducts() : array {
|
||||
|
|
|
@ -32,7 +32,7 @@ class ThreeDSecureTest extends TestCase
|
|||
$order = \Mockery::mock(Order::class);
|
||||
$order->shouldReceive('paymentSource')->andReturn($source);
|
||||
$testee = new ThreeDSecure();
|
||||
$result = $testee->proceedWithOrder($order);
|
||||
$result = $testee->proceed_with_order($order);
|
||||
$this->assertEquals($expected, $result);
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue