(client, role, password)
| 1101 | } |
| 1102 | |
| 1103 | function createRole(client, role, password) { |
| 1104 | return client.execute(`CREATE ROLE IF NOT EXISTS ${role} WITH PASSWORD = '${password}' AND LOGIN = true`); |
| 1105 | } |
| 1106 | |
| 1107 | function assertAuthError(err, message) { |
| 1108 | helper.assertInstanceOf(err, errors.NoHostAvailableError); |
no test coverage detected