forked from mpdf/mpdf
- Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathIssue1204Test.php
More file actions
23 lines (18 loc) · 512 Bytes
/
Issue1204Test.php
File metadata and controls
23 lines (18 loc) · 512 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 Issue1204Test extends \Yoast\PHPUnitPolyfills\TestCases\TestCase
{
/**
* Addresses Issue:
*
* is_file(): Unable to find the wrapper "chrome-extension" - did you forget to enable it when you configured PHP?
*
* @throws \Mpdf\MpdfException
*/
public function testIgnoresNonHttpURIs()
{
$mpdf = new \Mpdf\Mpdf();
$mpdf->WriteHTML('<a href="chrome-extension://fooobarextension"></a>');
$mpdf->WriteHTML('<img src="chrome-extension://fooobarextension">');
}
}