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

Fixes polly in ep tests #483

Merged
merged 3 commits into from
Dec 14, 2024

Conversation

ralexmatthews
Copy link
Contributor

Description

There was an alert that there was an auth header in some of the cassettes in the easypost request hooks tests. I believe this is because we weren't using polly correctly in those tests.

This PR basically just changes how we init polly and the EP client to be more consistent with the other tests, and then re-records the cassettes.

Testing

This is only testing changes, so I ran the tests and they passed

Pull Request Type

Please select the option(s) that are relevant to this PR.

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to not work as expected)
  • Improvement (fixing a typo, updating readme, renaming a variable name, etc)

@ralexmatthews ralexmatthews requested a review from a team as a code owner December 13, 2024 17:38
@nwithan8
Copy link
Member

Code looks good and unit tests passed, if you can address the CVE in the linting step.

@ralexmatthews
Copy link
Contributor Author

How can I address the CVE?

@Justintime50
Copy link
Member

@ralexmatthews either by bumping the bad dependency or adding it to the ignore list

@ralexmatthews
Copy link
Contributor Author

Ah I see. I thought you were referring to the security thing you sent me that prompted this change lol pushed changes 👍

@nwithan8 nwithan8 merged commit 24a1d05 into EasyPost:master Dec 14, 2024
14 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