fix: Location Change to Organizer Default Conferencing App (#16379)
* Fix * Dont include test files * Fix location change * Self review fixes * Add unit test * Add more test * Add a bookingScenario as well
This commit is contained in:
1 parent
4d53f327d9
commit
e362c37ff3
20 files changed
+1343
-296
No files matched your search
@@ -763,6 +763,33 @@ export function expectSuccessfulBookingRescheduledEmails({
|
||||
);
|
||||
}
|
||||
|
||||
export function expectSuccesfulLocationChangeEmails({
|
||||
emails,
|
||||
organizer,
|
||||
location,
|
||||
}: {
|
||||
emails: Fixtures["emails"];
|
||||
organizer: { email: string; name: string };
|
||||
location: {
|
||||
href: string;
|
||||
linkText: string;
|
||||
};
|
||||
}) {
|
||||
expect(emails).toHaveEmail(
|
||||
{
|
||||
titleTag: "location_changed_event_type_subject",
|
||||
links: [
|
||||
{
|
||||
href: location.href,
|
||||
text: location.linkText,
|
||||
},
|
||||
],
|
||||
to: `${organizer.email}`,
|
||||
},
|
||||
`${organizer.email}`
|
||||
);
|
||||
}
|
||||
|
||||
export function expectAwaitingPaymentEmails({
|
||||
emails,
|
||||
booker,
|
||||
|
||||
Reference in new issue
Block a user