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

use httpc for HTTP call in tests #15

Merged
merged 1 commit into from
Apr 9, 2024

Conversation

petermueller
Copy link
Collaborator

@petermueller petermueller commented Apr 7, 2024

This isn't a suggested approach long term if we add more tests involving API calls outside of the google libs, but since it's just a single call in a test, it seems like we could get away with just using httpc

also

  • removes :httpoison as a dep (no longer used after this change)
  • unlock :joken dep (just looks like it got missed)

- remove httpoison deps
-unlock missed joken dep
Copy link
Collaborator

@ulissesalmeida ulissesalmeida left a comment

Choose a reason for hiding this comment

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

Lovely

@ulissesalmeida
Copy link
Collaborator

Completely agree. It seems we're already using an http client in the library implementation (I think it's hackney), no need to add another dependency.

@petermueller petermueller merged commit e337970 into main Apr 9, 2024
4 checks passed
@petermueller petermueller deleted the pkm/use-httpc-for-minimal-test-validation branch April 9, 2024 18:37
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.

2 participants