()
| 197 | |
| 198 | #[tokio::test] |
| 199 | async fn readonly_cannot_drop_user() { |
| 200 | let state = make_state(); |
| 201 | let su = superuser(); |
| 202 | ddl_ok(&state, &su, "CREATE USER target WITH PASSWORD 'pass'").await; |
| 203 | |
| 204 | assert_readonly_denied(&state, "DROP USER target").await; |
| 205 | } |
| 206 | |
| 207 | /// `DROP USER IF EXISTS <name>` on a user that does not exist is a no-op |
| 208 | /// success, not an error. |
nothing calls this directly
no test coverage detected