aboutsummaryrefslogtreecommitdiffstats
path: root/integrations/repo_branch_test.go
diff options
context:
space:
mode:
Diffstat (limited to 'integrations/repo_branch_test.go')
-rw-r--r--integrations/repo_branch_test.go5
1 files changed, 5 insertions, 0 deletions
diff --git a/integrations/repo_branch_test.go b/integrations/repo_branch_test.go
index 3101dc4c0f..a5447cfb66 100644
--- a/integrations/repo_branch_test.go
+++ b/integrations/repo_branch_test.go
@@ -6,6 +6,7 @@ package integrations
import (
"net/http"
+ "net/url"
"path"
"strings"
"testing"
@@ -35,6 +36,10 @@ func testCreateBranch(t testing.TB, session *TestSession, user, repo, oldRefSubU
}
func TestCreateBranch(t *testing.T) {
+ onGiteaRun(t, testCreateBranches)
+}
+
+func testCreateBranches(t *testing.T, giteaURL *url.URL) {
tests := []struct {
OldRefSubURL string
NewBranch string