mirror of
https://github.com/halejohn/Cloudreve.git
synced 2026-01-26 09:34:57 +08:00
Feat: GET Site/Config getting global configuration
This commit is contained in:
@@ -42,7 +42,7 @@ func TestPing(t *testing.T) {
|
||||
router := InitRouter()
|
||||
|
||||
w := httptest.NewRecorder()
|
||||
req, _ := http.NewRequest("GET", "/Api/V3/Ping", nil)
|
||||
req, _ := http.NewRequest("GET", "/Api/V3/Site/Ping", nil)
|
||||
router.ServeHTTP(w, req)
|
||||
|
||||
assert.Equal(t, 200, w.Code)
|
||||
|
||||
Reference in New Issue
Block a user