mirror of
https://github.com/BookStackApp/BookStack.git
synced 2024-10-01 01:36:00 -04:00
Fixed test broken by PdfGenerator changes
This commit is contained in:
parent
aaa2205df1
commit
7e6e1fca76
@ -302,6 +302,7 @@ class ExportTest extends TestCase
|
||||
$mockPdfGenerator->shouldReceive('fromHtml')
|
||||
->with(\Mockery::capture($pdfHtml))
|
||||
->andReturn('');
|
||||
$mockPdfGenerator->shouldReceive('getActiveEngine')->andReturn(PdfGenerator::ENGINE_DOMPDF);
|
||||
|
||||
$this->asEditor()->get($page->getUrl('/export/pdf'));
|
||||
$this->assertStringNotContainsString('iframe>', $pdfHtml);
|
||||
|
Loading…
Reference in New Issue
Block a user