Create a correctly-named tag

Tag names cannot have spaces.
This commit is contained in:
Kemal Zebari 2024-08-29 18:42:02 -07:00
parent 1bb41ebcab
commit 3c6517565b

View File

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