add carrier repo to use case
This commit is contained in:
parent
a5229f1e03
commit
652c23e330
1 changed files with 4 additions and 1 deletions
|
|
@ -20,7 +20,10 @@ class CreateFreightOrderTest extends TestCase
|
||||||
{
|
{
|
||||||
$this->freightOrderRepo = new FakeFreightOrderRepository();
|
$this->freightOrderRepo = new FakeFreightOrderRepository();
|
||||||
$this->carrierRepo = new FakeCarrierRepository();
|
$this->carrierRepo = new FakeCarrierRepository();
|
||||||
$this->useCase = new CreateFreightOrder($this->freightOrderRepo);
|
$this->useCase = new CreateFreightOrder(
|
||||||
|
$this->freightOrderRepo,
|
||||||
|
$this->carrierRepo,
|
||||||
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
public function test_create_freight_order(): void
|
public function test_create_freight_order(): void
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue