We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9c6b4a4 commit 5fa5c1aCopy full SHA for 5fa5c1a
tests/main.tftest.hcl
@@ -23,7 +23,7 @@ variables {
23
}
24
25
run "validate_databases" {
26
- command = plan
+ command = apply
27
28
providers = {
29
postgresql = postgresql.mock
@@ -70,9 +70,8 @@ run "validate_roles_with_random_password" {
70
error_message = "Role should have random password"
71
72
73
- # ensure no special characters
74
assert {
75
- condition = !contains(split("", postgresql_role.role["app_user2"].password), "!")
76
- error_message = "Password should not contain the '!' character"
+ condition = !contains(split("", postgresql_role.role["app_user2"].password), "!#$%^&*()<>-_")
+ error_message = "Password should not contain the '!#$%^&*()<>-_' characters"
77
78
0 commit comments