1
0
mirror of https://github.com/invoiceninja/invoiceninja.git synced 2024-11-12 22:22:32 +01:00

Fixes for tests

This commit is contained in:
David Bomba 2023-08-01 22:00:45 +10:00
parent 25c67ff7ad
commit 860749f7d5

View File

@ -25,6 +25,7 @@ use App\Services\Invoice\InvoiceService;
use App\Utils\Traits\MakesInvoiceValues; use App\Utils\Traits\MakesInvoiceValues;
use App\Events\Invoice\InvoiceWasEmailed; use App\Events\Invoice\InvoiceWasEmailed;
use Laracasts\Presenter\PresentableTrait; use Laracasts\Presenter\PresentableTrait;
use App\Models\Presenters\EntityPresenter;
use App\Models\Presenters\InvoicePresenter; use App\Models\Presenters\InvoicePresenter;
use App\Helpers\Invoice\InvoiceSumInclusive; use App\Helpers\Invoice\InvoiceSumInclusive;
use App\Utils\Traits\Invoice\ActionsInvoice; use App\Utils\Traits\Invoice\ActionsInvoice;
@ -155,7 +156,7 @@ class Invoice extends BaseModel
use MakesReminders; use MakesReminders;
use ActionsInvoice; use ActionsInvoice;
// protected $presenter = InvoicePresenter::class; protected $presenter = EntityPresenter::class;
protected $touches = []; protected $touches = [];