From 3c6517565bc610be13e43dbca2d40871a09e9061 Mon Sep 17 00:00:00 2001 From: Kemal Zebari Date: Thu, 29 Aug 2024 18:42:02 -0700 Subject: [PATCH] Create a correctly-named tag Tag names cannot have spaces. --- tests/integration/api_releases_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/integration/api_releases_test.go b/tests/integration/api_releases_test.go index 9e9911f337..a4332fdc43 100644 --- a/tests/integration/api_releases_test.go +++ b/tests/integration/api_releases_test.go @@ -218,7 +218,7 @@ func TestAPICreateReleaseGivenInvalidTarget(t *testing.T) { urlStr := fmt.Sprintf("/api/v1/repos/%s/%s/releases", owner.Name, repo.Name) req := NewRequestWithJSON(t, "POST", urlStr, &api.CreateReleaseOption{ - TagName: "I point to an invalid target", + TagName: "i-point-to-an-invalid-target", Title: "Invalid Target", Target: "invalid-target", }).AddTokenAuth(token)