Fixes for test stubs

This commit is contained in:
David Bomba 2024-06-18 10:51:01 +10:00
parent 6b0a25453d
commit ba9178c670

View File

@ -607,7 +607,7 @@ trait MockAccountData
$this->purchase_order->service()->markSent(); $this->purchase_order->service()->markSent();
$this->purchase_order->setRelation('client', $this->client); $this->purchase_order->setRelation('vendor', $this->vendor);
$this->purchase_order->setRelation('company', $this->company); $this->purchase_order->setRelation('company', $this->company);
$this->purchase_order->save(); $this->purchase_order->save();