fix(db): run schema-level grants against the shared database, not postgres

This commit is contained in:
2026-08-21 21:05:23 +01:00
parent c916dd4ac8
commit cf51a6be94
2 changed files with 11 additions and 7 deletions
+1 -1
View File
@@ -68,7 +68,7 @@ func TestSyncAuthorizationIntegration(t *testing.T) {
}
assert := func(t *testing.T, sql, contains string) {
t.Helper()
out, code, err := c.execPSQL(context.Background(), id, sql)
out, code, err := c.execPSQL(context.Background(), id, "postgres", sql)
if err != nil || code != 0 {
t.Fatalf("check %q failed (exit %d, err %v): %s", sql, code, err, out)
}