API: Update config_test.go

This commit is contained in:
Michael Mayer 2021-08-12 12:06:55 +02:00
parent d767e50b37
commit 35f0a1925c

View file

@ -15,7 +15,7 @@ func TestGetConfig(t *testing.T) {
GetConfig(router) GetConfig(router)
r := PerformRequest(app, "GET", "/api/v1/config") r := PerformRequest(app, "GET", "/api/v1/config")
val := gjson.Get(r.Body.String(), "flags") val := gjson.Get(r.Body.String(), "flags")
assert.Equal(t, "public debug settings", val.String()) assert.Equal(t, "public debug experimental settings", val.String())
assert.Equal(t, http.StatusOK, r.Code) assert.Equal(t, http.StatusOK, r.Code)
}) })
} }