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