package configmgmt import ( "testing" "ds2api/internal/account" "ds2api/internal/config" ) func newAdminTestHandler(t *testing.T, raw string) *Handler { t.Helper() t.Setenv("DS2API_CONFIG_JSON", raw) store := config.LoadStore() return &Handler{ Store: store, Pool: account.NewPool(store), } }