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