Skip to content

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
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 :)

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Updated as TestCreateSpecFromBuildNameNumberAndProjectKey

@bhanurp bhanurp requested a review from EyalDelarea February 26, 2025 05:58
@EyalDelarea EyalDelarea changed the title Fix for #2874 release-bundle-create is not working with projects Fix release-bundle-create is not working with projects Feb 26, 2025
@EyalDelarea EyalDelarea changed the title Fix release-bundle-create is not working with projects Fix rbc command to accept project argument Feb 26, 2025
@github-actions
Copy link
Contributor

👍 Frogbot scanned this pull request and did not find any new security issues.


@bhanurp bhanurp merged commit 9317a4b into jfrog:dev Feb 26, 2025
7 checks passed
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