-
-
Notifications
You must be signed in to change notification settings - Fork 2.2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
011284c
commit 0c0cb62
Showing
4 changed files
with
28 additions
and
24 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
--TEST-- | ||
\PHPUnit\Framework\MockObject\Generator::generateClassFromWsdl('3530.wsdl', 'Test') | ||
--SKIPIF-- | ||
<?php declare(strict_types=1); | ||
if (!extension_loaded('soap')) echo 'skip: SOAP extension is required'; | ||
--FILE-- | ||
<?php declare(strict_types=1); | ||
require __DIR__ . '/../../../../vendor/autoload.php'; | ||
|
||
$generator = new \PHPUnit\Framework\MockObject\Generator; | ||
|
||
print $generator->generateClassFromWsdl( | ||
__DIR__ . '/../../../_files/3530.wsdl', | ||
'Test' | ||
); | ||
--EXPECTF-- | ||
class Test extends \SoapClient | ||
{ | ||
public function __construct($wsdl, array $options) | ||
{ | ||
parent::__construct('%s/3530.wsdl', $options); | ||
} | ||
|
||
public function Contact_Information($Contact_Id) | ||
{ | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters