mirror of
https://gitlab.crans.org/nounous/ghostream.git
synced 2024-12-22 15:02: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)
|
||||
}
|
||||
|
||||
cfg = &Options{}
|
||||
|
||||
// Test GET request
|
||||
r, _ := http.NewRequest("GET", "/", nil)
|
||||
w := httptest.NewRecorder()
|
||||
|
Loading…
Reference in New Issue
Block a user