add was opened to bid
This commit is contained in:
parent
bc6e3e47fe
commit
b33c6c909a
4 changed files with 15 additions and 1 deletions
|
|
@ -25,6 +25,7 @@ class FakeBidRepository implements BidRepository
|
|||
$id,
|
||||
$bid->getFreightOrderId(),
|
||||
$bid->getCarrierId(),
|
||||
$bid->getWasOpened(),
|
||||
);
|
||||
}
|
||||
|
||||
|
|
@ -36,6 +37,7 @@ class FakeBidRepository implements BidRepository
|
|||
$id,
|
||||
$bid->getFreightOrderId(),
|
||||
$bid->getCarrierId(),
|
||||
$bid->getWasOpened(),
|
||||
);
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -10,7 +10,7 @@ class BidTest extends TestCase
|
|||
public function test_bid_link_generated(): void
|
||||
{
|
||||
$bidId = '124e56abf82';
|
||||
$bid = new Bid($bidId, 0, 0);
|
||||
$bid = new Bid($bidId, 0, 0, false);
|
||||
$this->assertEquals(
|
||||
"https://freightquotes.com/bid/$bidId",
|
||||
$bid->getBidLink()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue