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

test: adds tests for x509_certificate_subscription.go #1

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

NickUfer
Copy link
Contributor

@NickUfer NickUfer commented Jun 7, 2023

No description provided.

@codecov
Copy link

codecov bot commented Jun 7, 2023

Codecov Report

Patch coverage: 17.85% and project coverage change: -1.86 ⚠️

Comparison is base (d3b8ba1) 26.89% compared to head (e594fb1) 25.03%.

Additional details and impacted files
@@            Coverage Diff             @@
##             main       #1      +/-   ##
==========================================
- Coverage   26.89%   25.03%   -1.86%     
==========================================
  Files          15       19       +4     
  Lines        1015     1278     +263     
==========================================
+ Hits          273      320      +47     
- Misses        707      920     +213     
- Partials       35       38       +3     
Impacted Files Coverage Δ
internal/db/postgresql/repository/bundle.go 20.00% <0.00%> (ø)
internal/db/repository/bundle.go 0.00% <0.00%> (ø)
internal/db/repository/x509_private_key.go 0.00% <ø> (ø)
internal/service/x509_certificate.go 0.00% <0.00%> (ø)
internal/service/x509_certificate_subscription.go 0.00% <0.00%> (ø)
internal/service/x509_import.go 0.00% <0.00%> (ø)
internal/restserver/handlers.go 19.39% <100.00%> (ø)
internal/service/x509_private_key.go 55.10% <100.00%> (ø)

... and 3 files with indirect coverage changes

☔ View full report in Codecov by Sentry.
📢 Do you have feedback about the report comment? Let us know in this issue.

refactor: adds interfaces for services for mocks

test: adds first test for import handler
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.

1 participant