simplify html timesheet exporter (#2224)

This commit is contained in:
Kevin Papst
2020-12-27 20:44:39 +01:00
committed by GitHub
parent 7e649dff3b
commit c1a54abc58
6 changed files with 17 additions and 71 deletions

View File

@@ -48,7 +48,7 @@ class ServiceExportTest extends TestCase
{
$sut = new ServiceExport();
$exporter = new HtmlExporter($this->createMock(Environment::class), new EventDispatcher());
$exporter = new HtmlExporter($this->createMock(Environment::class), new EventDispatcher(), $this->createMock(ProjectRepository::class));
$sut->addTimesheetExporter($exporter);
self::assertEquals(1, \count($sut->getTimesheetExporter()));