authTestGrantBasic grants |privileges| to authTestBasicUser on given |object| (include the object type in |object| if applicable).
(object string, privileges ...string)
| 1613 | // authTestGrantBasic grants |privileges| to authTestBasicUser on given |object| (include the object type in |object| if |
| 1614 | // applicable). |
| 1615 | func authTestGrantBasic(object string, privileges ...string) ScriptTestAssertion { |
| 1616 | return ScriptTestAssertion{ |
| 1617 | Username: "postgres", |
| 1618 | Password: "password", |
| 1619 | Query: fmt.Sprintf("GRANT %s ON %s TO %s", strings.Join(privileges, ","), object, authTestBasicUser), |
| 1620 | Expected: []sql.Row{}, |
| 1621 | } |
| 1622 | } |
no outgoing calls
no test coverage detected