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

Post big extract query #944

Merged

Conversation

AndreaDiPietro-ADP
Copy link
Contributor

related to
#794 (comment)

@codecov
Copy link

codecov bot commented Jul 12, 2021

Codecov Report

Merging #944 (dd64f2f) into master (fa93d0d) will increase coverage by 0.03%.
The diff coverage is 100.00%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master     #944      +/-   ##
==========================================
+ Coverage   92.66%   92.70%   +0.03%     
==========================================
  Files         336      337       +1     
  Lines        8267     8309      +42     
==========================================
+ Hits         7661     7703      +42     
  Misses        606      606              
Flag Coverage Δ
unittests 92.70% <100.00%> (+0.03%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files Coverage Δ
src/Core/Client/Client.php 87.59% <ø> (ø)
src/Plugin/PostBigExtractRequest.php 100.00% <100.00%> (ø)

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update fa93d0d...dd64f2f. Read the comment docs.

Copy link
Member

@thomascorthals thomascorthals 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 in general!

The only real issue I have is the charset that should be obtained from the query's input encoding.

Copy link
Member

@thomascorthals thomascorthals left a comment

Choose a reason for hiding this comment

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

Thanks already for the changes!

Can you fill in the missing test coverage? This has a couple of benefits:

  • It shows why the different code paths are necessary.
  • It shows how the different code paths are reached.
  • And of course it protects against breaking something in the future.

- 7.8-plugin-postbigextractrequest.php: deleted copyright comment
- PostBigExtractRequestTest.php: lower maximum length and fewer fields
Test the literal expected raw data + full test coverage
@thomascorthals
Copy link
Member

@mkalkbrenner I can look into an integration test after this gets merged. Don't have the time right now.

@mkalkbrenner mkalkbrenner merged commit 5196290 into solariumphp:master Jul 25, 2021
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