Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update unit tests to not actually make API calls #31

Open
allmightyspiff opened this issue Nov 3, 2022 · 0 comments
Open

Update unit tests to not actually make API calls #31

allmightyspiff opened this issue Nov 3, 2022 · 0 comments

Comments

@allmightyspiff
Copy link
Member

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.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant