aboutsummaryrefslogtreecommitdiffstats
path: root/integrations/api_fork_test.go
diff options
context:
space:
mode:
Diffstat (limited to 'integrations/api_fork_test.go')
-rw-r--r--integrations/api_fork_test.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/integrations/api_fork_test.go b/integrations/api_fork_test.go
index fec288d96f..4f3b023312 100644
--- a/integrations/api_fork_test.go
+++ b/integrations/api_fork_test.go
@@ -12,7 +12,7 @@ import (
)
func TestCreateForkNoLogin(t *testing.T) {
- prepareTestEnv(t)
+ defer prepareTestEnv(t)()
req := NewRequestWithJSON(t, "POST", "/api/v1/repos/user2/repo1/forks", &api.CreateForkOption{})
MakeRequest(t, req, http.StatusUnauthorized)
}