Skip to content

Commit 9c21155

Browse files
committed
Remove excessive tests for ALTER GROUP
Only RENAME TO needs to by supported according to PostgreSQL docs.
1 parent 6e94901 commit 9c21155

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

test/ddl/role.test.ts

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -158,10 +158,8 @@ describe("role", () => {
158158
});
159159

160160
describe("ALTER GROUP", () => {
161-
it("is alias for ALTER ROLE", () => {
162-
testWc("ALTER GROUP my_user WITH SUPERUSER");
163-
testWc("ALTER GROUP my_user RENAME TO new_user");
164-
testWc(`ALTER GROUP ALL IN DATABASE foo SET something TO 128`);
161+
it("supports RENAME TO", () => {
162+
testWc("ALTER GROUP moderator RENAME TO administator");
165163
});
166164

167165
it("supports ADD USER", () => {

0 commit comments

Comments
 (0)