(t *testing.T)
| 184 | } |
| 185 | |
| 186 | func TestPostgreSQLHBAs(t *testing.T) { |
| 187 | rules := postgresqlHBAs() |
| 188 | assert.Equal(t, len(rules), 2) |
| 189 | assert.Equal(t, rules[0].String(), `hostssl all "_crunchypgbouncer" all "scram-sha-256"`) |
| 190 | assert.Equal(t, rules[1].String(), `host all "_crunchypgbouncer" all "reject"`) |
| 191 | } |
nothing calls this directly
no test coverage detected