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)
$this->logMailError($e->getMessage(), $this->nmo->to_user->client);
$this->logMailError($message, $this->nmo->to_user->client);
}
private function setMailDriver()

View File

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