replace "freelancer" invoice template with pdf version (#2289)

This commit is contained in:
Kevin Papst
2021-01-22 19:47:05 +01:00
committed by GitHub
parent 88b4d3842f
commit c9ccdb5f77
13 changed files with 193 additions and 169 deletions

View File

@@ -31,8 +31,8 @@ class TwigRendererTest extends KernelTestCase
$sut = new TwigRenderer($env);
$this->assertTrue($sut->supports($this->getInvoiceDocument('default.html.twig')));
$this->assertTrue($sut->supports($this->getInvoiceDocument('freelancer.html.twig')));
$this->assertTrue($sut->supports($this->getInvoiceDocument('timesheet.html.twig')));
$this->assertFalse($sut->supports($this->getInvoiceDocument('freelancer.pdf.twig')));
$this->assertFalse($sut->supports($this->getInvoiceDocument('foo.html.twig')));
$this->assertFalse($sut->supports($this->getInvoiceDocument('company.docx')));
$this->assertFalse($sut->supports($this->getInvoiceDocument('export.csv')));