diff --git a/test/ClientTest.php b/test/ClientTest.php index ee9c43cf..c8c6b9f4 100644 --- a/test/ClientTest.php +++ b/test/ClientTest.php @@ -11,6 +11,14 @@ require_once __DIR__ . '/TestAsset/commontypes.php'; +//if soap exension is not loaded, this will avoid two notices in the test runner suite +if(!defined('SOAP_ENCODED')){ + define ('SOAP_ENCODED', 1); +} +if(!defined('SOAP_DOCUMENT')){ + define ('SOAP_DOCUMENT', 2); +} + use Zend\Soap\AutoDiscover; use Zend\Soap\Client; use Zend\Soap\Server;