Skip to content

Commit

Permalink
Fix Test
Browse files Browse the repository at this point in the history
  • Loading branch information
mhabibi authored and sebastianbergmann committed Feb 17, 2019
1 parent e264a96 commit 314d516
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions tests/unit/Framework/MockObject/GeneratorTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -245,15 +245,16 @@ public function testVariadicArgumentsArePassedToMockedMethod()

public function testGenerateClassFromWsdlForMultipleOutputValues()
{
$wsdlPath = TEST_FILES_PATH . '3530.xml';
$generator = new Generator();
$result = $generator->generateClassFromWsdl(TEST_FILES_PATH . '3530.xml', 'Test');
$result = $generator->generateClassFromWsdl($wsdlPath, 'Test');

$expected = <<<EOM
class Test extends \SoapClient
{
public function __construct(\$wsdl, array \$options)
{
parent::__construct('/home/mo/codes/phpunit/tests/_files/3530.xml', \$options);
parent::__construct('$wsdlPath', \$options);
}
public function Contact_Information(\$Contact_Id)
Expand Down

0 comments on commit 314d516

Please sign in to comment.