1
0
mirror of https://gitlab.crans.org/nounous/ghostream.git synced 2025-06-29 19:11:07 +02:00

Fix statistics test

This commit is contained in:
Yohann D'ANELLO
2020-10-06 09:32:41 +02:00
parent 392a9d7fc3
commit ee13d9f0e9
2 changed files with 2 additions and 2 deletions

View File

@ -31,7 +31,7 @@ func TestViewerPageGET(t *testing.T) {
}
// Test GET request on statistics page
r, _ = http.NewRequest("GET", "/", nil)
r, _ = http.NewRequest("GET", "/_stats/demo/", nil)
w = httptest.NewRecorder()
http.HandlerFunc(statisticsHandler).ServeHTTP(w, r)
if w.Code != http.StatusOK {