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