fix pdf creation for very large exports (#1533)

This commit is contained in:
Kevin Papst
2020-03-08 00:24:49 +01:00
committed by GitHub
parent d60e738bd2
commit ace2788b57
6 changed files with 54 additions and 25 deletions

View File

@@ -50,7 +50,7 @@ class HtmlRendererTest extends AbstractRendererTest
$content = $response->getContent();
$this->assertStringContainsString('<h2>List of expenses</h2>', $content);
$this->assertStringContainsString('<h2>', $content);
$this->assertStringContainsString('<h3>Summary</h3>', $content);
$this->assertEquals(1, substr_count($content, 'id="export-summary"'));
$this->assertEquals(1, substr_count($content, 'id="export-records"'));