fix tests

This commit is contained in:
David Remer 2020-08-31 11:12:59 +03:00
parent 5e39de1247
commit cd54a96981
2 changed files with 2 additions and 2 deletions

View file

@ -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 {

View file

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