summaryrefslogtreecommitdiffstats
path: root/services/release/release_test.go
diff options
context:
space:
mode:
Diffstat (limited to 'services/release/release_test.go')
-rw-r--r--services/release/release_test.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/services/release/release_test.go b/services/release/release_test.go
index b41eea7e9e..4dc45c06e9 100644
--- a/services/release/release_test.go
+++ b/services/release/release_test.go
@@ -358,6 +358,6 @@ func TestCreateNewTag(t *testing.T) {
user := unittest.AssertExistsAndLoadBean(t, &user_model.User{ID: 2}).(*user_model.User)
repo := unittest.AssertExistsAndLoadBean(t, &repo_model.Repository{ID: 1}).(*repo_model.Repository)
- assert.NoError(t, CreateNewTag(user, repo, "master", "v2.0",
+ assert.NoError(t, CreateNewTag(git.DefaultContext, user, repo, "master", "v2.0",
"v2.0 is released \n\n BUGFIX: .... \n\n 123"))
}