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

Fix for #2874 release-bundle-create is not working with projects #1356

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

Conversation

bhanurp
Copy link
Contributor

@bhanurp bhanurp commented Feb 24, 2025

  • All tests passed. If this feature is not already covered by the tests, I added new tests.
  • All static analysis checks passed.
  • This pull request is on the dev branch.
  • I used gofmt for formatting the code before submitting the pull request.

@bhanurp bhanurp added the bug Something isn't working label Feb 24, 2025
@bhanurp bhanurp marked this pull request as ready for review February 24, 2025 17:39
@@ -7,31 +7,39 @@ import (

func TestCreateSpecFromBuildNameAndNumber(t *testing.T) {
t.Run("Valid Inputs", func(t *testing.T) {
spec, err := CreateSpecFromBuildNameAndNumber("Common-builds", "1.2.0")
spec, err := CreateSpecFromBuildNameAndNumber("Common-builds", "1.2.0", "test")
Copy link
Contributor

Choose a reason for hiding this comment

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

Let's extract the logic of projects key into a different test function
or we should change the name to TestCreateSpecFromBuildNameAndNumberAndProjectKey, which seems a bit long :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants