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

generalize parameter assertions to be more reusable. #118

Merged
merged 1 commit into from
Sep 20, 2024

Conversation

bhamail
Copy link
Contributor

@bhamail bhamail commented Sep 19, 2024

Change the mocked libraries to have generalized parameter assertions.

The main difference is now we need to specify "all or none" of the parameters to assert during a given call. That's why you see a number of "" (empty) strings provided as parameters to be validated. Previously such params were ignored.

It should be much easier to update other mocks to do these assertions in the future.

I updated other libs along the way.

@bhamail bhamail requested a review from madpah September 19, 2024 23:08
Copy link

@madpah madpah added the enhancement New feature or request label Sep 20, 2024
@madpah madpah merged commit dc141ca into main Sep 20, 2024
4 checks passed
@madpah madpah deleted the fix/assert_more_params branch September 20, 2024 07:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants