Improve headless test

This commit is contained in:
Hillel Coren 2018-03-09 11:27:20 +02:00
parent 52b3b6d93e
commit bddacf130e

View File

@ -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');