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 and tests #20

Merged
merged 3 commits into from
Jan 27, 2023
Merged

Fixes and tests #20

merged 3 commits into from
Jan 27, 2023

Conversation

wneessen
Copy link
Owner

Added a couple of fixes, tests and a README for the OpenGPG middlware

- Type() method was missing to satisfy the middleware interface
- We need to set the part encoded to "raw" since the PGP body is already base64 encoded
Added a simple Handler test for the middleware
@codecov-commenter
Copy link

Codecov Report

Merging #20 (8365f46) into main (b35d32a) will increase coverage by 3.51%.
The diff coverage is 33.33%.

📣 This organization is not using Codecov’s GitHub App Integration. We recommend you install it so Codecov can continue to function properly for your repositories. Learn more

@@            Coverage Diff             @@
##             main      #20      +/-   ##
==========================================
+ Coverage   80.37%   83.88%   +3.51%     
==========================================
  Files           4        4              
  Lines         270      273       +3     
==========================================
+ Hits          217      229      +12     
+ Misses         50       37      -13     
- Partials        3        7       +4     
Impacted Files Coverage Δ
openpgp/openpgp.go 41.07% <33.33%> (+20.31%) ⬆️

📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more

@wneessen wneessen merged commit 51b08b9 into main Jan 27, 2023
@wneessen wneessen deleted the more_openphp_tests branch January 27, 2023 15:57
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