generated from nhcarrigan/template
test: add profilePublic field to User test fixtures
Updates all User test objects in auth.types.spec.ts to include the profilePublic field that was added to the User interface. Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
This commit is contained in:
@@ -20,6 +20,7 @@ describe("auth Types", () => {
|
|||||||
isMod: true,
|
isMod: true,
|
||||||
isStaff: true,
|
isStaff: true,
|
||||||
isVip: false,
|
isVip: false,
|
||||||
|
profilePublic: true,
|
||||||
username: "testuser",
|
username: "testuser",
|
||||||
};
|
};
|
||||||
|
|
||||||
@@ -33,6 +34,7 @@ describe("auth Types", () => {
|
|||||||
isMod: false,
|
isMod: false,
|
||||||
isStaff: false,
|
isStaff: false,
|
||||||
isVip: true,
|
isVip: true,
|
||||||
|
profilePublic: false,
|
||||||
username: "anotheruser",
|
username: "anotheruser",
|
||||||
};
|
};
|
||||||
|
|
||||||
@@ -53,6 +55,7 @@ describe("auth Types", () => {
|
|||||||
isMod: false,
|
isMod: false,
|
||||||
isStaff: false,
|
isStaff: false,
|
||||||
isVip: false,
|
isVip: false,
|
||||||
|
profilePublic: false,
|
||||||
username: "banneduser",
|
username: "banneduser",
|
||||||
};
|
};
|
||||||
|
|
||||||
@@ -107,6 +110,7 @@ describe("auth Types", () => {
|
|||||||
isMod: false,
|
isMod: false,
|
||||||
isStaff: false,
|
isStaff: false,
|
||||||
isVip: false,
|
isVip: false,
|
||||||
|
profilePublic: true,
|
||||||
username: "testuser",
|
username: "testuser",
|
||||||
},
|
},
|
||||||
};
|
};
|
||||||
|
|||||||
Reference in New Issue
Block a user