forked from mpdf/mpdf
- Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathIssue1134Test.php
More file actions
23 lines (16 loc) · 524 Bytes
/
Issue1134Test.php
File metadata and controls
23 lines (16 loc) · 524 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
<?php
namespace Issues;
class Issue1134Test extends \Yoast\PHPUnitPolyfills\TestCases\TestCase
{
public function testBorderDetailsDefaultValue()
{
$mpdf = new \Mpdf\Mpdf();
$html = '
<table><tbody><tr><td style="border-left-color: rgb(207, 207, 207);">test</td></tr></tbody></table>
<table><tbody><tr><td style="border-left-color: rgb(207, 207, 207);">test</td></tr></tbody></table>
';
$mpdf->WriteHTML($html);
$output = $mpdf->Output('', 'S');
$this->assertStringStartsWith('%PDF-', $output);
}
}