Fix for mail refactor

This commit is contained in:
David Bomba 2021-02-18 11:12:49 +11:00
parent 64afdc20fa
commit 222cd28836
2 changed files with 4 additions and 4 deletions

View File

@ -104,7 +104,7 @@ class NinjaMailerJob implements ShouldQueue
} }
if ($this->nmo->to_user instanceof ClientContact) if ($this->nmo->to_user instanceof ClientContact)
$this->logMailError($e->getMessage(), $this->nmo->to_user->client); $this->logMailError($message, $this->nmo->to_user->client);
} }
private function setMailDriver() private function setMailDriver()

View File

@ -56,7 +56,7 @@ class ImportCsvTest extends TestCase
public function testInvoiceCsvImport() public function testInvoiceCsvImport()
{ {
$this->markTestSkipped(); // $this->markTestSkipped();
$csv = file_get_contents(base_path().'/tests/Feature/Import/invoice.csv'); $csv = file_get_contents(base_path().'/tests/Feature/Import/invoice.csv');
$hash = Str::random(32); $hash = Str::random(32);
@ -98,7 +98,7 @@ class ImportCsvTest extends TestCase
public function testClientCsvImport() public function testClientCsvImport()
{ {
$this->markTestSkipped(); // $this->markTestSkipped();
$csv = file_get_contents(base_path().'/tests/Feature/Import/clients.csv'); $csv = file_get_contents(base_path().'/tests/Feature/Import/clients.csv');
$hash = Str::random(32); $hash = Str::random(32);
@ -132,7 +132,7 @@ class ImportCsvTest extends TestCase
public function testProductCsvImport() public function testProductCsvImport()
{ {
$this->markTestSkipped(); // $this->markTestSkipped();
$csv = file_get_contents(base_path().'/tests/Feature/Import/products.csv'); $csv = file_get_contents(base_path().'/tests/Feature/Import/products.csv');