This commit is contained in:
Justin Hawkins 2021-10-10 13:54:26 +10:30
parent c87d6ba79d
commit a739e62824

View File

@ -63,8 +63,8 @@ func TestNotFound(t *testing.T) {
func TestGetConfig(t *testing.T) {
conf := config.DefaultConfigService()
conf.Config = *config.DefaultConfig()
s := WebService{Config: *conf}
conf.Config = config.DefaultConfig()
s := WebService{Config: conf}
req := httptest.NewRequest(http.MethodGet, "/rest/config", nil)
w := httptest.NewRecorder()