Skip to content

Commit 50a56dc

Browse files
committed
* updated changelog
* added deprecation message to SOAP module
1 parent dc797f5 commit 50a56dc

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

src/Codeception/Module/SOAP.php

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,9 @@
11
<?php
22
namespace Codeception\Module;
33

4+
use Codeception\Lib\Interfaces\API;
45
use Codeception\Lib\Interfaces\DependsOnModule;
6+
use Codeception\Lib\Notification;
57
use Codeception\Module as CodeceptionModule;
68
use Codeception\TestInterface;
79
use Codeception\Exception\ModuleException;
@@ -42,7 +44,7 @@
4244
* * xmlResponse - last SOAP response (DOMDocument)
4345
*
4446
*/
45-
class SOAP extends CodeceptionModule implements DependsOnModule
47+
class SOAP extends CodeceptionModule implements DependsOnModule, API
4648
{
4749
protected $config = [
4850
'schema' => "",
@@ -403,6 +405,7 @@ public function seeSoapResponseCodeIs($code)
403405
*/
404406
public function seeResponseCodeIs($code)
405407
{
408+
Notification::deprecate('SOAP::seeResponseCodeIs deprecated in favor of seeSoapResponseCodeIs', 'SOAP Module');
406409
$this->seeSoapResponseCodeIs($code);
407410
}
408411

0 commit comments

Comments
 (0)