makeTestData(); $this->withoutMiddleware( ThrottleRequests::class ); } public function testCreditPdfCreated() { $credit_path = (new CreateEntityPdf($this->credit->invitations->first()))->handle(); $this->assertTrue(Storage::exists($credit_path)); } public function testInvoicePdfCreated() { $invoice_path = (new CreateEntityPdf($this->invoice->invitations->first()))->handle(); $this->assertTrue(Storage::exists($invoice_path)); } public function testQuotePdfCreated() { $quote_path = (new CreateEntityPdf($this->quote->invitations->first()))->handle(); $this->assertTrue(Storage::exists($quote_path)); } }