mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2025-07-09 03:14:30 -04:00
Fixes for tests
This commit is contained in:
parent
8c52df6158
commit
ce5338dbdf
@ -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;
|
||||
|
@ -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', [
|
||||
|
Loading…
x
Reference in New Issue
Block a user