summaryrefslogtreecommitdiffstats
path: root/integrations/explore_repos_test.go
diff options
context:
space:
mode:
authorLunny Xiao <xiaolunwen@gmail.com>2017-08-17 20:20:21 +0800
committerLauris BH <lauris@nix.lv>2017-08-17 15:20:21 +0300
commitaec826b02381e3e00ad6690a986d3caa5a7df23e (patch)
tree067be799d7c536777b3a9742106484e519f7a2b8 /integrations/explore_repos_test.go
parent934dd41fa660bda0c1006e8f293f6f7ba3d8bad7 (diff)
downloadgitea-aec826b02381e3e00ad6690a986d3caa5a7df23e.tar.gz
gitea-aec826b02381e3e00ad6690a986d3caa5a7df23e.zip
fix template error on explore repos (#2319)
Diffstat (limited to 'integrations/explore_repos_test.go')
-rw-r--r--integrations/explore_repos_test.go17
1 files changed, 17 insertions, 0 deletions
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)
+}