mirror of
https://github.com/paperclipai/paperclip.git
synced 2026-11-09 07:10:34 +01:00
test(ui): include membership role in routine user fixtures
Co-Authored-By: Paperclip <noreply@paperclip.ing>
This commit is contained in:
1 parent
a24fdf83c4
commit
d46d2890c4
1 file changed
+1
-1
@@ -15,7 +15,7 @@ const routine = {
|
||||
latestRevisionId: "revision-1", canChangeResponsibleUser: true,
|
||||
} as RoutineDetail;
|
||||
const users = ["Alex", "Sam"].map((name) => ({
|
||||
principalId: `user-${name.toLowerCase()}`, status: "active" as const,
|
||||
principalId: `user-${name.toLowerCase()}`, status: "active" as const, membershipRole: "member" as const,
|
||||
user: { id: `user-${name.toLowerCase()}`, name, email: `${name.toLowerCase()}@example.test`, image: null },
|
||||
}));
|
||||
|
||||
|
||||
Reference in new issue
Block a user