Skip to content

Commit 7e6e1fc

Browse files
committed
Fixed test broken by PdfGenerator changes
1 parent aaa2205 commit 7e6e1fc

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

tests/Entity/ExportTest.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -302,6 +302,7 @@ public function test_page_pdf_export_converts_iframes_to_links()
302302
$mockPdfGenerator->shouldReceive('fromHtml')
303303
->with(\Mockery::capture($pdfHtml))
304304
->andReturn('');
305+
$mockPdfGenerator->shouldReceive('getActiveEngine')->andReturn(PdfGenerator::ENGINE_DOMPDF);
305306

306307
$this->asEditor()->get($page->getUrl('/export/pdf'));
307308
$this->assertStringNotContainsString('iframe>', $pdfHtml);

0 commit comments

Comments
 (0)