summaryrefslogtreecommitdiffstats
path: root/services/migrations/gitlab_test.go
diff options
context:
space:
mode:
Diffstat (limited to 'services/migrations/gitlab_test.go')
-rw-r--r--services/migrations/gitlab_test.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/services/migrations/gitlab_test.go b/services/migrations/gitlab_test.go
index 52edb2af8f..e63d674186 100644
--- a/services/migrations/gitlab_test.go
+++ b/services/migrations/gitlab_test.go
@@ -28,7 +28,7 @@ func TestGitlabDownloadRepo(t *testing.T) {
}
resp, err := http.Get("https://gitlab.com/gitea/test_repo")
- if err != nil || resp.StatusCode != 200 {
+ if err != nil || resp.StatusCode != http.StatusOK {
t.Skipf("Can't access test repo, skipping %s", t.Name())
}