mirror of
https://github.com/woocommerce/woocommerce-paypal-payments.git
synced 2025-08-30 05:00:51 +08:00
Remove prefix from custom id
This commit is contained in:
parent
f23df0b91c
commit
6d905d01c8
2 changed files with 2 additions and 2 deletions
|
@ -77,7 +77,7 @@ class PurchaseUnitFactoryTest extends TestCase
|
|||
$this->assertEquals($payee, $unit->payee());
|
||||
$this->assertEquals('', $unit->description());
|
||||
$this->assertEquals('default', $unit->reference_id());
|
||||
$this->assertEquals('WC-' . $this->wcOrderId, $unit->custom_id());
|
||||
$this->assertEquals($this->wcOrderId, $unit->custom_id());
|
||||
$this->assertEquals('', $unit->soft_descriptor());
|
||||
$this->assertEquals('WC-' . $this->wcOrderNumber, $unit->invoice_id());
|
||||
$this->assertEquals([$item], $unit->items());
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue