| Total Complexity | 2 |
| Total Lines | 20 |
| Duplicated Lines | 0 % |
| Changes | 1 | ||
| Bugs | 1 | Features | 0 |
| 1 | <?php |
||
| 10 | class StaticResolverTest extends TestCase |
||
| 11 | { |
||
| 12 | public function testGuzzleResolve(): void |
||
| 13 | { |
||
| 14 | $resolver = StaticResolver::create('http://localhost'); |
||
| 15 | |||
| 16 | $uri = $resolver->resolve('file.jpg'); |
||
| 17 | |||
| 18 | self::assertSame('http://localhost/file.jpg', (string)$uri); |
||
| 19 | self::assertNull(error_get_last()); |
||
| 20 | } |
||
| 21 | |||
| 22 | public function testGuzzleResolveWithPrefix(): void |
||
| 30 | } |
||
| 31 | } |
||
| 32 |