Improve headless test
This commit is contained in:
parent
52b3b6d93e
commit
bddacf130e
1 changed files with 1 additions and 1 deletions
|
|
@ -429,7 +429,7 @@ class AppController extends BaseController
|
|||
|
||||
public function testHeadless()
|
||||
{
|
||||
$invoice = Invoice::scope()->first();
|
||||
$invoice = Invoice::scope()->orderBy('id')->first();
|
||||
|
||||
if (! $invoice) {
|
||||
dd('Please create an invoice to run this test');
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue