Skip to content

Commit 1e4a698

Browse files
committed
Fix missed argument in test
1 parent 2cb0ae4 commit 1e4a698

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

provider/resource_keycloak_realm_test.go

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -989,6 +989,7 @@ func TestAccKeycloakRealm_webauthn(t *testing.T) {
989989
userVerificationRequirement := randomStringInSlice([]string{"not specified", "required", "preferred", "discouraged"})
990990
signatureAlgorithms := randomStringSliceSubset([]string{"ES256", "ES384", "ES512", "RS256", "ES384", "ES512"})
991991
avoidSameAuthenticatorRegister := randomBool()
992+
passwordlessPasskeysEnabled := randomBool()
992993

993994
resource.Test(t, resource.TestCase{
994995
ProviderFactories: testAccProviderFactories,
@@ -1000,7 +1001,7 @@ func TestAccKeycloakRealm_webauthn(t *testing.T) {
10001001
Check: testAccCheckKeycloakRealmExists("keycloak_realm.realm"),
10011002
},
10021003
{
1003-
Config: testKeycloakRealm_webauthn_passwordless_policy(realmName, realmDisplayName, realmDisplayNameHtml, rpName, rpId, attestationConveyancePreference, authenticatorAttachment, requireResidentKey, userVerificationRequirement, signatureAlgorithms, avoidSameAuthenticatorRegister),
1004+
Config: testKeycloakRealm_webauthn_passwordless_policy(realmName, realmDisplayName, realmDisplayNameHtml, rpName, rpId, attestationConveyancePreference, authenticatorAttachment, requireResidentKey, userVerificationRequirement, signatureAlgorithms, avoidSameAuthenticatorRegister, passwordlessPasskeysEnabled),
10041005
Check: testAccCheckKeycloakRealmExists("keycloak_realm.realm"),
10051006
},
10061007
{

0 commit comments

Comments
 (0)