Conditions | 1 |
Paths | 1 |
Total Lines | 8 |
Code Lines | 5 |
Lines | 0 |
Ratio | 0 % |
Changes | 0 |
1 | <?php |
||
39 | public function test_file_with_extension_and_suffix(): void |
||
40 | { |
||
41 | $strategy = new WithSuffixAbsolutePathStrategy('/app/root/', 'suffix'); |
||
42 | $relativePath = '/file-name.ext'; |
||
43 | |||
44 | self::assertSame( |
||
45 | '/app/root/file-name-suffix.ext', |
||
46 | $strategy->generateAbsolutePath($relativePath), |
||
47 | ); |
||
50 |