(t *testing.T)
| 137 | } |
| 138 | |
| 139 | func 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 | |
| 148 | func TestFormatManageTenantURL(t *testing.T) { |
| 149 | assert.Empty(t, formatManageTenantURL("", &config.Config{})) |
nothing calls this directly
no test coverage detected