MCPcopy Create free account
hub / github.com/auth0/auth0-cli / assertConfigFileMatches

Function assertConfigFileMatches

internal/config/config_test.go:872–878  ·  view source on GitHub ↗
(t *testing.T, actualConfigPath, expectedConfig string)

Source from the content-addressed store, hash-verified

870}
871
872func assertConfigFileMatches(t *testing.T, actualConfigPath, expectedConfig string) {
873 t.Helper()
874
875 fileContent, err := os.ReadFile(actualConfigPath)
876 assert.NoError(t, err)
877 assert.Equal(t, expectedConfig, string(fileContent))
878}

Callers 5

TestConfig_AddTenantFunction · 0.85
TestConfig_RemoveTenantFunction · 0.85
TestConfig_ValidateFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected