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(server): add tests for Maven metadata building #1837

Merged
merged 2 commits into from
Feb 24, 2025

Conversation

krzema12
Copy link
Member

Related to #1611.

We're going to make some changes in the function, so let's add some safety net to prevent regressions + a way to see how the modified function behaves.

val availableMajorVersions =
fetchAvailableVersions(owner = owner, name = name, githubToken = githubToken)
fetchAvailableVersions(owner, name, githubToken)
Copy link
Member Author

Choose a reason for hiding this comment

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

I was hoping we could keep the named arguments for this call when adding a way to mock this function, but without a bit bigger refactoring (wrapping the function in a class or making the function accept ActionCoords) it seems to be not possible.

@krzema12 krzema12 enabled auto-merge (squash) February 24, 2025 07:37
Vampire
Vampire previously approved these changes Feb 24, 2025
Copy link
Collaborator

@Vampire Vampire left a comment

Choose a reason for hiding this comment

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

Juat a small nit, as the lambda parameters are unused, otherwise LGTM

Co-authored-by: Björn Kautler <Bjoern@Kautler.net>
@krzema12 krzema12 disabled auto-merge February 24, 2025 09:17
@krzema12 krzema12 merged commit bb270d4 into main Feb 24, 2025
14 checks passed
@krzema12 krzema12 deleted the add-tests-for-Maven-metadata-building branch February 24, 2025 09:17
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