summaryrefslogtreecommitdiffstats
path: root/integrations/repo_search_test.go
diff options
context:
space:
mode:
Diffstat (limited to 'integrations/repo_search_test.go')
-rw-r--r--integrations/repo_search_test.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/integrations/repo_search_test.go b/integrations/repo_search_test.go
index 32a872e409..eb843525fb 100644
--- a/integrations/repo_search_test.go
+++ b/integrations/repo_search_test.go
@@ -29,7 +29,7 @@ func resultFilenames(t testing.TB, doc *HTMLDoc) []string {
}
func TestSearchRepo(t *testing.T) {
- prepareTestEnv(t)
+ defer prepareTestEnv(t)()
repo, err := models.GetRepositoryByOwnerAndName("user2", "repo1")
assert.NoError(t, err)