2017-08-17 20:20:21 +08:00
|
|
|
// 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.
|
|
|
|
|
|
2022-09-02 15:18:23 -04:00
|
|
|
package integration
|
2017-08-17 20:20:21 +08:00
|
|
|
|
|
|
|
|
import (
|
|
|
|
|
"net/http"
|
|
|
|
|
"testing"
|
2022-09-02 15:18:23 -04:00
|
|
|
|
|
|
|
|
"code.gitea.io/gitea/tests"
|
2017-08-17 20:20:21 +08:00
|
|
|
)
|
|
|
|
|
|
|
|
|
|
func TestExploreRepos(t *testing.T) {
|
2022-09-02 15:18:23 -04:00
|
|
|
defer tests.PrepareTestEnv(t)()
|
2017-08-17 20:20:21 +08:00
|
|
|
|
|
|
|
|
req := NewRequest(t, "GET", "/explore/repos")
|
|
|
|
|
MakeRequest(t, req, http.StatusOK)
|
|
|
|
|
}
|