We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Hi,
I am trying to work on some changes but the test suite fails at the moment.
It appears that most tests set up a connection with:
VCloudSdk::Test.mock_session(logger, url)
which passes a mock RestClient to connection.rb:
VCloudSdk::Connection::Connection.new(url, nil, nil, rest_client)
but the rest_client variable is in the wrong order:
initialize(url, request_timeout = nil, rest_client = nil, site = nil, file_uploader = nil, rest_throttle = nil)
updating this to the third parameter passes the RestClient mock object as expected but then it fails because the mock doesn't have a logger stub.
How am I supposed to make tests run? Am I missing something?
Tim
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Hi,
I am trying to work on some changes but the test suite fails at the moment.
It appears that most tests set up a connection with:
which passes a mock RestClient to connection.rb:
but the rest_client variable is in the wrong order:
updating this to the third parameter passes the RestClient mock object as expected but then it fails because the mock doesn't have a logger stub.
How am I supposed to make tests run? Am I missing something?
Tim
The text was updated successfully, but these errors were encountered: