forked from mpdf/mpdf
- Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathIssue1660Test.php
More file actions
19 lines (13 loc) · 514 Bytes
/
Issue1660Test.php
File metadata and controls
19 lines (13 loc) · 514 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
<?php
namespace Issues;
class Issue1660Test extends \Mpdf\BaseMpdfTest
{
public function testTwoColumnSpill()
{
$mpdf = new \Mpdf\Mpdf([ 'mode' => 'c', 'format' => 'Letter', 'margin_top' => 135, 'margin_bottom' => 135, 'margin_header' => 0, 'margin_footer' => 0 ]);
$mpdf->SetColumns(2);
$mpdf->WriteHTML('<html><body><table><tr><td>X</td></tr><tr><td>X</td></tr><tr><td>X</td></tr></table></body></html>');
$output = $mpdf->Output('', 'S');
$this->assertStringStartsWith('%PDF-', $output);
}
}