mirror of
https://gitlab.crans.org/nounous/ghostream.git
synced 2024-12-23 01:32:19 +00:00
Add empty configuration in Web Handler test
This commit is contained in:
parent
94224edfba
commit
8da60ebdcc
@ -12,6 +12,8 @@ func TestViewerPageGET(t *testing.T) {
|
|||||||
t.Errorf("Failed to load templates: %v", err)
|
t.Errorf("Failed to load templates: %v", err)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
cfg = &Options{}
|
||||||
|
|
||||||
// Test GET request
|
// Test GET request
|
||||||
r, _ := http.NewRequest("GET", "/", nil)
|
r, _ := http.NewRequest("GET", "/", nil)
|
||||||
w := httptest.NewRecorder()
|
w := httptest.NewRecorder()
|
||||||
|
Loading…
Reference in New Issue
Block a user