Skip to content

Commit 37c5413

Browse files
committed
test(abac): clear per-room attributes before deleting attribute definition
1 parent 9648c8b commit 37c5413

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

  • apps/meteor/tests/end-to-end/api

apps/meteor/tests/end-to-end/api/abac.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2609,6 +2609,7 @@ const addAbacAttributesToUserDirectly = async (userId: string, abacAttributes: I
26092609
});
26102610

26112611
after(async () => {
2612+
await Promise.all(createdRids.map((rid) => request.delete(`${v1}/abac/rooms/${rid}/attributes`).set(credentials).expect(200)));
26122613
await Promise.all(createdRids.map((rid) => deleteRoom({ type: 'p', roomId: rid })));
26132614
await request.delete(`${v1}/abac/attributes/${announceAttrId}`).set(credentials).expect(200);
26142615
await deleteUser(owner);

0 commit comments

Comments
 (0)