| Conditions | 1 |
| Paths | 1 |
| Total Lines | 8 |
| Code Lines | 6 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 2 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 17 | public function testReadFails(): void |
||
| 18 | { |
||
| 19 | $tempFile = (string) tempnam(sys_get_temp_dir(), 'phpMyAdmin_StringReaderTest'); |
||
| 20 | $this->assertFileExists($tempFile); |
||
| 21 | $stringReader = new StringReader($tempFile); |
||
| 22 | unlink($tempFile); |
||
| 23 | $actual = $stringReader->read(-1, -1); |
||
| 24 | $this->assertSame('', $actual); |
||
| 25 | } |
||
| 41 |