MCPcopy Create free account
hub / github.com/openclaw/gogcli / defaultCredentialsStoreForTest

Function defaultCredentialsStoreForTest

internal/cmd/cmd_testutil_test.go:129–132  ·  view source on GitHub ↗
(t *testing.T)

Source from the content-addressed store, hash-verified

127}
128
129func defaultCredentialsStoreForTest(t *testing.T) *config.ClientCredentialsStore {
130 t.Helper()
131 return config.NewClientCredentialsStore(defaultLayoutForTest(t, config.PathKindConfig, config.PathKindData))
132}
133
134func withAuthStore(ctx context.Context, store secrets.Store) context.Context {
135 return withTestRuntime(ctx, func(runtime *app.Runtime) {

Calls 2

defaultLayoutForTestFunction · 0.85

Tested by

no test coverage detected