Conditions | 1 |
Paths | 1 |
Total Lines | 10 |
Code Lines | 6 |
Lines | 0 |
Ratio | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
24 | public function getContentCheck() |
||
25 | { |
||
26 | $iiifUrlReader = new IiifUrlReader(); |
||
27 | |||
28 | $correctUrl = 'http://web:8001/Tests/Fixtures/Common/correct.txt'; |
||
29 | $expected = "Correct result\n"; |
||
30 | self::assertSame($expected, $iiifUrlReader->getContent($correctUrl)); |
||
31 | |||
32 | $incorrectUrl = 'http://web:8001/incorrectPath'; |
||
33 | self::assertSame('', $iiifUrlReader->getContent($incorrectUrl)); |
||
34 | } |
||
36 |