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
86de597fb7
commit
81637ebe6d
31 changed files with 475 additions and 449 deletions
|
@ -97,11 +97,11 @@ class ChangeCartEndpointTest extends TestCase
|
|||
|
||||
$defaultLineItem = Mockery::mock(PurchaseUnit::class);
|
||||
$defaultLineItem
|
||||
->shouldReceive('toArray')
|
||||
->shouldReceive('to_array')
|
||||
->andReturn([1]);
|
||||
$variationLineItem = Mockery::mock(PurchaseUnit::class);
|
||||
$variationLineItem
|
||||
->shouldReceive('toArray')
|
||||
->shouldReceive('to_array')
|
||||
->andReturn([2]);
|
||||
|
||||
$testData = [
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue