diff --git a/integrations/explore_repos_test.go b/integrations/explore_repos_test.go new file mode 100644 index 0000000000..7408f06302 --- /dev/null +++ b/integrations/explore_repos_test.go @@ -0,0 +1,17 @@ +// Copyright 2017 The Gitea Authors. All rights reserved. +// Use of this source code is governed by a MIT-style +// license that can be found in the LICENSE file. + +package integrations + +import ( + "net/http" + "testing" +) + +func TestExploreRepos(t *testing.T) { + prepareTestEnv(t) + + req := NewRequest(t, "GET", "/explore/repos") + MakeRequest(t, req, http.StatusOK) +} diff --git a/templates/explore/repo_list.tmpl b/templates/explore/repo_list.tmpl index 76ed6491f4..9686e9dca3 100644 --- a/templates/explore/repo_list.tmpl +++ b/templates/explore/repo_list.tmpl @@ -2,7 +2,7 @@ {{range .Repos}}