Conditions | 1 |
Total Lines | 8 |
Lines | 0 |
Ratio | 0 % |
Changes | 0 |
1 | <?php |
||
24 | public function testGetPath(): void |
||
25 | { |
||
26 | $this->file->setFilename('invoice.pdf'); |
||
27 | |||
28 | self::assertSame('invoice.pdf', $this->file->getFilename()); |
||
29 | $appPath = realpath('.'); |
||
30 | $expected = $appPath . '/data/file/invoice.pdf'; |
||
31 | self::assertSame($expected, $this->file->getPath()); |
||
32 | } |
||
34 |