API: Update config_test.go
This commit is contained in:
parent
d767e50b37
commit
35f0a1925c
1 changed files with 1 additions and 1 deletions
|
@ -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)
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue