mirror of
https://gitlab.crans.org/nounous/ghostream.git
synced 2024-12-22 20:52:20 +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