Test cleanup

This commit is contained in:
David Bomba 2020-10-31 16:45:10 +11:00
parent 94e371e6cb
commit 74701e8b70

View File

@ -61,19 +61,19 @@ class ImportTest extends TestCase
$this->assertTrue($status); $this->assertTrue($status);
} }
public function testAllImport() // public function testAllImport()
{ // {
$this->invoice->forceDelete(); // $this->invoice->forceDelete();
$this->quote->forceDelete(); // $this->quote->forceDelete();
$this->user->setCompany($this->company); // $this->user->setCompany($this->company);
auth()->login($this->user, true); // auth()->login($this->user, true);
Import::dispatchNow($this->migration_array, $this->company, $this->user); // Import::dispatchNow($this->migration_array, $this->company, $this->user);
$this->assertTrue(true); // $this->assertTrue(true);
} // }
// public function testExceptionOnUnavailableResource() // public function testExceptionOnUnavailableResource()
// { // {