Skip to content

Commit

Permalink
fix release create tests
Browse files Browse the repository at this point in the history
  • Loading branch information
lunny committed Oct 15, 2018
1 parent 3aa358b commit 6df92e3
Showing 1 changed file with 9 additions and 9 deletions.
18 changes: 9 additions & 9 deletions models/release_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -61,10 +61,10 @@ func TestRelease_Create(t *testing.T) {
assert.NoError(t, CreateRelease(gitRepo, &Release{
RepoID: repo.ID,
PublisherID: user.ID,
TagName: "v0.1.2",
TagName: "v0.1.3",
Target: "65f1bf2",
Title: "v0.1.2 is released",
Note: "v0.1.2 is released",
Title: "v0.1.3 is released",
Note: "v0.1.3 is released",
IsDraft: true,
IsPrerelease: false,
IsTag: false,
Expand All @@ -73,10 +73,10 @@ func TestRelease_Create(t *testing.T) {
assert.NoError(t, CreateRelease(gitRepo, &Release{
RepoID: repo.ID,
PublisherID: user.ID,
TagName: "v0.1.2",
TagName: "v0.1.4",
Target: "65f1bf2",
Title: "v0.1.2 is released",
Note: "v0.1.2 is released",
Title: "v0.1.4 is released",
Note: "v0.1.4 is released",
IsDraft: false,
IsPrerelease: true,
IsTag: false,
Expand All @@ -85,10 +85,10 @@ func TestRelease_Create(t *testing.T) {
assert.NoError(t, CreateRelease(gitRepo, &Release{
RepoID: repo.ID,
PublisherID: user.ID,
TagName: "v0.1.2",
TagName: "v0.1.5",
Target: "65f1bf2",
Title: "v0.1.2 is released",
Note: "v0.1.2 is released",
Title: "v0.1.5 is released",
Note: "v0.1.5 is released",
IsDraft: false,
IsPrerelease: false,
IsTag: true,
Expand Down

0 comments on commit 6df92e3

Please sign in to comment.