Conditions | 1 |
Paths | 1 |
Total Lines | 10 |
Code Lines | 6 |
Lines | 0 |
Ratio | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
35 | public function testCanReadVerySmallFile($expected, $content) |
||
36 | { |
||
37 | $filename = tempnam(sys_get_temp_dir(), 'html'); |
||
38 | file_put_contents($filename, $content); |
||
1 ignored issue
–
show
|
|||
39 | |||
40 | $reader = new Html(); |
||
41 | $actual = $reader->canRead($filename); |
||
1 ignored issue
–
show
|
|||
42 | unlink($filename); |
||
1 ignored issue
–
show
|
|||
43 | |||
44 | self::assertSame($expected, $actual); |
||
45 | } |
||
47 |