github.com/versent/saml2aws@v2.17.0+incompatible/saml2aws_test.go (about) 1 package saml2aws 2 3 import ( 4 "testing" 5 6 "github.com/stretchr/testify/require" 7 ) 8 9 func TestProviderList_Keys(t *testing.T) { 10 11 names := MFAsByProvider.Names() 12 13 require.Len(t, names, 13) 14 15 } 16 17 func TestProviderList_Mfas(t *testing.T) { 18 19 mfas := MFAsByProvider.Mfas("Ping") 20 21 require.Len(t, mfas, 1) 22 23 }