Fixes for tests

This commit is contained in:
David Bomba 2021-07-03 14:45:40 +10:00
parent bb0dea0c13
commit 7e264877e9
2 changed files with 5 additions and 1 deletions

View File

@ -48,6 +48,8 @@ class ImportCsvTest extends TestCase
$this->makeTestData();
$this->markTestSkipped('Skipping CSV Import to improve test speed');
$this->withoutExceptionHandling();
}

View File

@ -40,7 +40,9 @@ class HtmlGenerationTest extends TestCase
public function testHtmlOutput()
{
$html = $this->generateHtml($this->invoice);
$this->client->fresh();
$html = $this->generateHtml($this->invoice->fresh());
$this->assertNotNull($html);
}