package authn import ( "testing" "github.com/stretchr/testify/assert" ) func TestProviderType_String(t *testing.T) { assert.Equal(t, "default", ProviderUnknown.String()) assert.Equal(t, "default", ProviderDefault.String()) assert.Equal(t, "none", ProviderNone.String()) assert.Equal(t, "local", ProviderLocal.String()) assert.Equal(t, "ldap", ProviderLDAP.String()) }