mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2025-07-09 03:14:30 -04:00
Improve headless test
This commit is contained in:
parent
52b3b6d93e
commit
bddacf130e
@ -429,7 +429,7 @@ class AppController extends BaseController
|
|||||||
|
|
||||||
public function testHeadless()
|
public function testHeadless()
|
||||||
{
|
{
|
||||||
$invoice = Invoice::scope()->first();
|
$invoice = Invoice::scope()->orderBy('id')->first();
|
||||||
|
|
||||||
if (! $invoice) {
|
if (! $invoice) {
|
||||||
dd('Please create an invoice to run this test');
|
dd('Please create an invoice to run this test');
|
||||||
|
Loading…
x
Reference in New Issue
Block a user