Fix/unpaid unconfirmed (#2553)

* Fix merge errors

* Errors prettier/prettier

* Update apps/web/pages/api/book/event.ts

Co-authored-by: Miguel Nieto A <[email protected]>

* Update apps/web/pages/api/book/event.ts

Co-authored-by: Miguel Nieto A <[email protected]>

* Update apps/web/pages/api/integrations.ts

Co-authored-by: Miguel Nieto A <[email protected]>

* Fix merge errors

* Errors prettier/prettier

* Update apps/web/pages/api/book/confirm.ts

Co-authored-by: alannnc <[email protected]>

* Modal window before delete stripe integration

* ESLint Report

* Test fixes

Co-authored-by: Miguel Nieto A <[email protected]>
Co-authored-by: alannnc <[email protected]>
Co-authored-by: zomars <[email protected]>
This commit is contained in:
authored and GitHub committed 2022-05-16 10:27:36 -06:00
1 parent 7fd149fd2e
commit f2a6d00348
8 files changed
+316 -20

No files matched your search

+3
View File
@@ -132,6 +132,9 @@ test.describe("Reschedule Tests", async () => {
test("Paid rescheduling should go to success page", async ({ page, users, bookings, payments }) => {
const user = await users.create();
await user.login();
await user.getPaymentCredential();
await users.logout();
const eventType = user.eventTypes.find((e) => e.slug === "paid")!;
const booking = await bookings.create(user.id, user.username, eventType.id, {
rescheduled: true,