add isClosed, notes, cost, fileAttachments to bid

This commit is contained in:
Yisroel Baum 2025-11-22 21:13:55 +02:00
parent d68c3bc66c
commit 04c498afb6
Signed by: yisroelbaum
GPG key ID: 0FA60884F75520A9
7 changed files with 60 additions and 4 deletions

View file

@ -31,7 +31,16 @@ class GetBidForCarrierTest extends TestCase
public function test_first_view_flips_opened_flag(): void
{
$bidId = 'abcd';
$this->bidRepo->save(new Bid($bidId, 0, 0, false));
$this->bidRepo->save(new Bid(
$bidId,
0,
0,
false,
false,
null,
null,
null,
));
$foundBid = $this->useCase->execute(
new GetBidForCarrierRequest($bidId)
);