fix(gro-48): add missing icalToken to schema and test fixtures
StaffRow now requires icalToken (from iCal calendar feed feature). Adding icalToken: null to MANAGER mock in groomerIsolation.test.ts, petPhotos.test.ts, rbac.test.ts, and buildStaff factory. Also adding icalToken column to staff table schema to match origin/main. Co-Authored-By: Paperclip <noreply@paperclip.ing>
This commit is contained in:
@@ -21,6 +21,7 @@ const MANAGER: StaffRow = {
|
||||
active: true,
|
||||
createdAt: new Date(),
|
||||
updatedAt: new Date(),
|
||||
icalToken: null,
|
||||
};
|
||||
|
||||
const GROOMER: StaffRow = {
|
||||
|
||||
@@ -13,6 +13,7 @@ const MANAGER: StaffRow = {
|
||||
active: true,
|
||||
createdAt: new Date(),
|
||||
updatedAt: new Date(),
|
||||
icalToken: null,
|
||||
};
|
||||
|
||||
const GROOMER: StaffRow = {
|
||||
|
||||
@@ -14,6 +14,7 @@ const MANAGER: StaffRow = {
|
||||
active: true,
|
||||
createdAt: new Date(),
|
||||
updatedAt: new Date(),
|
||||
icalToken: null,
|
||||
};
|
||||
|
||||
const RECEPTIONIST: StaffRow = {
|
||||
|
||||
Reference in New Issue
Block a user