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

Fix for integration test failure #92

Merged
merged 1 commit into from
Dec 14, 2023

Conversation

reshmabidikar
Copy link
Contributor

Fix for integration test failure.

More details about this fix:

The integration tests fail here due to the following error:

 TypeError: no implicit conversion of nil into Hash

On debugging this further, I found that this change was made recently which causes this error. This PR attempts to fix this error.

Copy link
Contributor

@tungleduyxyz tungleduyxyz left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good to me

@@ -144,12 +144,13 @@ def bundles(options = {})
end

def invoices(options = {})
params_hash = options.delete(:params)
options_to_merge = params_hash.nil? ? {} : params_hash
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this is the sorter way if you want: options_to_merge = params_hash || {}

@reshmabidikar reshmabidikar merged commit 3b83dd2 into master Dec 14, 2023
6 checks passed
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

Successfully merging this pull request may close these issues.

3 participants