Remove prefix from custom id

This commit is contained in:
Alex P 2021-11-16 16:09:33 +02:00
parent f23df0b91c
commit 6d905d01c8
2 changed files with 2 additions and 2 deletions

View file

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