change freight orders to freight order ids
This commit is contained in:
parent
b58d23f084
commit
dbed2a9acc
3 changed files with 8 additions and 8 deletions
|
|
@ -62,7 +62,7 @@ class CreateFreightOrderTest extends TestCase
|
|||
notes: 'some notes',
|
||||
loadProfile: 'LTL/FTL',
|
||||
countriesServing: ['USA'],
|
||||
freightOrders: [],
|
||||
freightOrderIds: [],
|
||||
));
|
||||
$dto = new CreateFreightOrderRequestDTO(
|
||||
shipFrom: 'ny',
|
||||
|
|
@ -78,7 +78,7 @@ class CreateFreightOrderTest extends TestCase
|
|||
$foundCarrier = $this->carrierRepo->find($carrierId);
|
||||
$this->assertEquals(
|
||||
[$createdFreightOrder->getId()],
|
||||
$foundCarrier->getOrderIds()
|
||||
$foundCarrier->getFreightOrderIds()
|
||||
);
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue