MantisBT: master e6827c4a

Author Committer Branch Timestamp Parent
dregad dregad master 2023-08-09 12:48 master f5043110
Affected Issues  0032814: PHPUnit SOAP API tests trigger syntax error when extension is not loaded
Changeset

Fix errors when SOAP extension is not loaded

Initialize defaultSoapClientOptions property in setUp(), to avoid a
syntax error due to undefined constant WSDL_CACHE_NONE.

Remove useless SoapAllTests::setUp() method. TestSuite class does not
have this method so it is never actually called. Extension availability
check is performed by @requires extension hints in the test cases'
PHPDoc blocks.

Fixes 0032814

mod - tests/soap/AllTests.php Diff File
mod - tests/soap/SoapBase.php Diff File