Fixes for tests

This commit is contained in:
David Bomba 2021-02-19 09:20:09 +11:00
parent 8c52df6158
commit ce5338dbdf
2 changed files with 3 additions and 4 deletions

View File

@ -54,6 +54,7 @@ use Symfony\Component\HttpFoundation\ParameterBag;
use Symfony\Component\HttpFoundation\Request;
class CSVImport implements ShouldQueue {
use Dispatchable, InteractsWithQueue, Queueable, SerializesModels, CleanLineItems;
public $invoice;

View File

@ -50,13 +50,11 @@ class TemplateEmail extends Mailable
$this->from(config('mail.from.address'), $this->company->present()->name());
if (strlen($settings->reply_to_email) > 1) {
if (strlen($settings->reply_to_email) > 1)
$this->replyTo($settings->reply_to_email, $settings->reply_to_email);
}
if (strlen($settings->bcc_email) > 1) {
if (strlen($settings->bcc_email) > 1)
$this->bcc($settings->bcc_email, $settings->bcc_email);
}
$this->subject($this->build_email->getSubject())
->text('email.template.plain', [