-
Notifications
You must be signed in to change notification settings - Fork 16
Open
Description
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
Metadata
Metadata
Assignees
Labels
No labels