MCPcopy Create free account
hub / github.com/danielmiessler/Fabric / TestIsConfiguredRequiresApiKey

Function TestIsConfiguredRequiresApiKey

internal/tools/sofya/sofya_test.go:96–102  ·  view source on GitHub ↗
(t *testing.T)

Source from the content-addressed store, hash-verified

94}
95
96func TestIsConfiguredRequiresApiKey(t *testing.T) {
97 client := NewClient()
98 require.False(t, client.IsConfigured())
99
100 client.ApiKey.Value = "secret"
101 require.True(t, client.IsConfigured())
102}

Callers

nothing calls this directly

Calls 2

IsConfiguredMethod · 0.95
NewClientFunction · 0.70

Tested by

no test coverage detected