RelativePathResolver did not work correctly for ../directories

This commit is contained in:
Petr Bechyně
2017-07-21 14:49:42 +02:00
parent 75a0489cce
commit 0c47f5a8d4
2 changed files with 9 additions and 4 deletions

View File

@ -30,6 +30,11 @@ class RelativePathResolverTest extends PHPUnit_Framework_TestCase
public function providePathInfo()
{
return [
[
'http://anyendpoint.tld:9999/path/to/endpoint.wsdl',
'../Schemas/Common/SoapHeader.xsd',
'http://anyendpoint.tld:9999/path/Schemas/Common/SoapHeader.xsd',
],
[
'http://endpoint-location.ltd/',
'Document1.xsd',