test that was opened is flipped to true when carrie first sees the bid
This commit is contained in:
parent
b33c6c909a
commit
6dbb92e7b6
2 changed files with 25 additions and 3 deletions
|
|
@ -21,6 +21,10 @@ class GetBidForCarrier
|
|||
if ($bid === null) {
|
||||
throw new InvalidArgumentException('Bid not found!');
|
||||
}
|
||||
if ($bid->getWasOpened() === false) {
|
||||
$bid->setWasOpened(true);
|
||||
$this->bidRepo->save($bid);
|
||||
}
|
||||
return $bid;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue