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

Function TestHasLocalCallbackURL

internal/cli/utils_shared_test.go:139–146  ·  view source on GitHub ↗
(t *testing.T)

Source from the content-addressed store, hash-verified

137}
138
139func TestHasLocalCallbackURL(t *testing.T) {
140 assert.False(t, hasLocalCallbackURL(&management.Client{
141 Callbacks: &[]string{"http://localhost:3000"},
142 }))
143 assert.True(t, hasLocalCallbackURL(&management.Client{
144 Callbacks: &[]string{"http://localhost:8484"},
145 }))
146}
147
148func TestFormatManageTenantURL(t *testing.T) {
149 assert.Empty(t, formatManageTenantURL("", &config.Config{}))

Callers

nothing calls this directly

Calls 1

hasLocalCallbackURLFunction · 0.85

Tested by

no test coverage detected