From dceff35f9afa8af26724b06cc66652ae5adeeaf8 Mon Sep 17 00:00:00 2001 From: David Bomba Date: Tue, 27 Oct 2020 15:53:59 +1100 Subject: [PATCH] Working on refactoring emails --- app/Helpers/Email/EntityEmailInterface.php | 17 ----------------- app/Helpers/Email/InvoiceEmail.php | 2 +- tests/Integration/InvoiceUploadTest.php | 4 ++-- 3 files changed, 3 insertions(+), 20 deletions(-) delete mode 100644 app/Helpers/Email/EntityEmailInterface.php diff --git a/app/Helpers/Email/EntityEmailInterface.php b/app/Helpers/Email/EntityEmailInterface.php deleted file mode 100644 index bba93573eb20..000000000000 --- a/app/Helpers/Email/EntityEmailInterface.php +++ /dev/null @@ -1,17 +0,0 @@ -invoice->invitations->first()); + CreateEntityPdf::dispatchNow($this->invoice->invitations->first()); $this->assertNotNull($this->invoice->service()->getInvoicePdf($this->invoice->client->primary_contact()->first())); }