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

Refactor tests #28

Merged
merged 4 commits into from
Dec 13, 2024
Merged

Refactor tests #28

merged 4 commits into from
Dec 13, 2024

Conversation

stevenvegt
Copy link
Member

@stevenvegt stevenvegt commented Dec 4, 2024

Use testdata instead of creating cert chain during tests. Goal is to remove dependency on the cert issuer package. To prevent stale code I like to merge this intermediate result.

Also, remove dependency on go-clone package.

Removes dependency from cert-creator
Uses a test fixture for chain instead of creating them during test.
No errors from helper functions
@stevenvegt stevenvegt requested a review from reinkrul December 4, 2024 14:51
Issuer now accepts checked data. Introduced helper functions which
creates this checked data. Components can be tested separately.
@stevenvegt stevenvegt merged commit 1843487 into main Dec 13, 2024
3 checks passed
@stevenvegt stevenvegt deleted the refactor-tests branch December 13, 2024 07:44
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