Skip to content

Commit

Permalink
rename recovery_mechanisms to recovery_mechanism
Browse files Browse the repository at this point in the history
  • Loading branch information
DrFaust92 committed Aug 21, 2020
1 parent 201df21 commit 112d638
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions aws/resource_aws_cognito_user_pool_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,7 @@ func TestAccAWSCognitoUserPool_recovery(t *testing.T) {
testAccCheckAWSCognitoUserPoolExists(resourceName),
resource.TestCheckResourceAttr(resourceName, "name", rName),
resource.TestCheckResourceAttr(resourceName, "account_recovery_setting.#", "1"),
resource.TestCheckResourceAttr(resourceName, "account_recovery_setting.0.recovery_mechanisms.#", "1"),
resource.TestCheckResourceAttr(resourceName, "account_recovery_setting.0.recovery_mechanism.#", "1"),
),
},
{
Expand All @@ -130,7 +130,7 @@ func TestAccAWSCognitoUserPool_recovery(t *testing.T) {
testAccCheckAWSCognitoUserPoolExists(resourceName),
resource.TestCheckResourceAttr(resourceName, "name", rName),
resource.TestCheckResourceAttr(resourceName, "account_recovery_setting.#", "1"),
resource.TestCheckResourceAttr(resourceName, "account_recovery_setting.0.recovery_mechanisms.#", "2"),
resource.TestCheckResourceAttr(resourceName, "account_recovery_setting.0.recovery_mechanism.#", "2"),
),
},
{
Expand All @@ -139,7 +139,7 @@ func TestAccAWSCognitoUserPool_recovery(t *testing.T) {
testAccCheckAWSCognitoUserPoolExists(resourceName),
resource.TestCheckResourceAttr(resourceName, "name", rName),
resource.TestCheckResourceAttr(resourceName, "account_recovery_setting.#", "1"),
resource.TestCheckResourceAttr(resourceName, "account_recovery_setting.0.recovery_mechanisms.#", "1"),
resource.TestCheckResourceAttr(resourceName, "account_recovery_setting.0.recovery_mechanism.#", "1"),
),
},
},
Expand Down

0 comments on commit 112d638

Please sign in to comment.