mirror of
https://github.com/Karaka-Management/oms-Billing.git
synced 2026-02-05 11:08:41 +00:00
fix tests
This commit is contained in:
parent
8ada52c50c
commit
dae5807bcf
|
|
@ -44,7 +44,7 @@ final class BillTypeMapper extends DataMapperFactory
|
|||
'billing_type_transfer_type' => ['name' => 'billing_type_transfer_type', 'type' => 'int', 'internal' => 'transferType'],
|
||||
'billing_type_default_template' => ['name' => 'billing_type_default_template', 'type' => 'int', 'internal' => 'defaultTemplate'],
|
||||
'billing_type_transfer_stock' => ['name' => 'billing_type_transfer_stock', 'type' => 'bool', 'internal' => 'transferStock'],
|
||||
'billing_type_transfer_sign' => ['name' => 'billing_type_transfer_sign', 'type' => 'bool', 'internal' => 'sign'],
|
||||
'billing_type_transfer_sign' => ['name' => 'billing_type_transfer_sign', 'type' => 'int', 'internal' => 'sign'],
|
||||
'billing_type_is_template' => ['name' => 'billing_type_is_template', 'type' => 'bool', 'internal' => 'isTemplate'],
|
||||
];
|
||||
|
||||
|
|
|
|||
|
|
@ -54,7 +54,7 @@ final class BillTest extends \PHPUnit\Framework\TestCase
|
|||
self::assertNull($this->bill->supplier);
|
||||
self::assertEquals([], $this->bill->getVouchers());
|
||||
self::assertEquals([], $this->bill->getTrackings());
|
||||
self::assertEquals([], $this->bill->getFileByType(0));
|
||||
self::assertInstanceOf('\Modules\Media\Models\NullMedia', $this->bill->getFileByType(0));
|
||||
|
||||
self::assertEquals('', $this->bill->shipTo);
|
||||
self::assertEquals('', $this->bill->shipFAO);
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user