fix tests

This commit is contained in:
Dennis Eichhorn 2023-09-23 18:33:01 +00:00
parent 8ada52c50c
commit dae5807bcf
2 changed files with 2 additions and 2 deletions

View File

@ -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'],
];

View File

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