aboutsummaryrefslogtreecommitdiffstats
path: root/integrations/repo_migrate_test.go
diff options
context:
space:
mode:
Diffstat (limited to 'integrations/repo_migrate_test.go')
-rw-r--r--integrations/repo_migrate_test.go3
1 files changed, 2 insertions, 1 deletions
diff --git a/integrations/repo_migrate_test.go b/integrations/repo_migrate_test.go
index 4307ddf901..9f41cca827 100644
--- a/integrations/repo_migrate_test.go
+++ b/integrations/repo_migrate_test.go
@@ -6,12 +6,13 @@ package integrations
import (
"net/http"
+ "net/http/httptest"
"testing"
"github.com/stretchr/testify/assert"
)
-func testRepoMigrate(t testing.TB, session *TestSession, cloneAddr, repoName string) *TestResponse {
+func testRepoMigrate(t testing.TB, session *TestSession, cloneAddr, repoName string) *httptest.ResponseRecorder {
req := NewRequest(t, "GET", "/repo/migrate")
resp := session.MakeRequest(t, req, http.StatusOK)
htmlDoc := NewHTMLParser(t, resp.Body)