mirror of
https://github.com/go-gitea/gitea.git
synced 2024-09-01 14:56:30 +00:00
Create a correctly-named tag
Tag names cannot have spaces.
This commit is contained in:
parent
1bb41ebcab
commit
3c6517565b
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user