softlayer-api-php-client icon indicating copy to clipboard operation
softlayer-api-php-client copied to clipboard

Update unit tests to not actually make API calls

Open allmightyspiff opened this issue 3 years ago • 0 comments

Currently the unit tests actually try to get the WSDL from api.softlayer.com, and try to make actual API calls during the tests. To fix that we need to do the following:

  1. Setup SoapClient to have a property for the Soap Client itself, which we can overload in the tests.
  2. Have a fixture for the WSDL or something for the fake soap client to use.

allmightyspiff avatar Nov 03 '22 18:11 allmightyspiff