diff --git a/tests/MockAccountData.php b/tests/MockAccountData.php index 99eaf980bdb8..acc16c8f86ed 100644 --- a/tests/MockAccountData.php +++ b/tests/MockAccountData.php @@ -607,7 +607,7 @@ trait MockAccountData $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->save();