mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2025-05-24 02:14:21 -04:00
Fixes for global tests
This commit is contained in:
parent
b5f2ae6d6b
commit
8a23ed35ea
@ -7,15 +7,23 @@ use App\Services\PdfMaker\Designs\Playful;
|
||||
use App\Services\PdfMaker\PdfMaker;
|
||||
use App\Utils\HtmlEngine;
|
||||
use App\Utils\Traits\MakesInvoiceValues;
|
||||
use Tests\MockAccountData;
|
||||
use Tests\TestCase;
|
||||
|
||||
class ExampleIntegrationTest extends TestCase
|
||||
{
|
||||
use MakesInvoiceValues;
|
||||
use MakesInvoiceValues, MockAccountData;
|
||||
|
||||
public function setUp(): void
|
||||
{
|
||||
parent::setUp();
|
||||
|
||||
$this->makeTestData();
|
||||
}
|
||||
|
||||
public function testExample()
|
||||
{
|
||||
$invoice = Invoice::first();
|
||||
$invoice = $this->invoice;
|
||||
$invitation = $invoice->invitations()->first();
|
||||
|
||||
$engine = new HtmlEngine(null, $invitation, 'invoice');
|
||||
|
Loading…
x
Reference in New Issue
Block a user