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 parsing of rating end points #1219

Merged
merged 1 commit into from
May 14, 2024
Merged

fix parsing of rating end points #1219

merged 1 commit into from
May 14, 2024

Conversation

haarg
Copy link
Member

@haarg haarg commented May 14, 2024

The fake rating search end points need the Deserialize ActionClass to parse their body.

Also, MetaCPAN::Client has a bug that prevents it from properly using its testing user agent, so just give the results for normal MC::C UAs.

mickeyn
mickeyn previously approved these changes May 14, 2024
@haarg haarg force-pushed the haarg/fix-fake-rating branch 4 times, most recently from 37bec02 to bccbdbe Compare May 14, 2024 19:49
The fake rating search end points need the Deserialize ActionClass to
parse their body.

Also, MetaCPAN::Client has a bug that prevents it from properly using
its testing user agent, so just give the results for normal MC::C UAs.
@haarg haarg force-pushed the haarg/fix-fake-rating branch from bccbdbe to 6137a2a Compare May 14, 2024 21:02
Copy link

codecov bot commented May 14, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 60.78%. Comparing base (37fe00c) to head (6137a2a).
Report is 2 commits behind head on master.

Additional details and impacted files
@@            Coverage Diff             @@
##           master    #1219      +/-   ##
==========================================
- Coverage   60.85%   60.78%   -0.07%     
==========================================
  Files         163      163              
  Lines        4460     4460              
  Branches      649      649              
==========================================
- Hits         2714     2711       -3     
- Misses       1510     1516       +6     
+ Partials      236      233       -3     
Files Coverage Δ
lib/MetaCPAN/Server/Controller/Rating.pm 92.00% <100.00%> (ø)

... and 1 file with indirect coverage changes

@haarg haarg merged commit 3a565fe into master May 14, 2024
2 of 3 checks passed
@haarg haarg deleted the haarg/fix-fake-rating branch May 14, 2024 21:21
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