Apply patch [skip ci]

This commit is contained in:
open-swe-dev-andrinoid[bot] 2026-01-29 19:27:44 +00:00 committed by Nathan Anderson
parent a307723205
commit 7140f361ec

View File

@ -147,7 +147,6 @@ test("landlord can approve a lease", async ({ page }: { page: Page }) => {
// Submit approval form // Submit approval form
const approveForm = page.locator('form').filter({ hasText: "approve" }).first(); const approveForm = page.locator('form').filter({ hasText: "approve" }).first();
await approveForm.fill({});
const approveResponse = await page.request.post("/api/lease/approve", { const approveResponse = await page.request.post("/api/lease/approve", {
headers: { "Content-Type": "application/json", ...e2eHeaders("landlord") }, headers: { "Content-Type": "application/json", ...e2eHeaders("landlord") },
@ -196,7 +195,6 @@ test("landlord can reject a lease with reason", async ({ page }: { page: Page })
// Submit rejection form with reason // Submit rejection form with reason
const rejectForm = page.locator('form').filter({ hasText: "reject" }).first(); const rejectForm = page.locator('form').filter({ hasText: "reject" }).first();
await rejectForm.fill({});
const rejectionReason = "Insufficient income verification"; const rejectionReason = "Insufficient income verification";
const rejectResponse = await page.request.post("/api/lease/reject", { const rejectResponse = await page.request.post("/api/lease/reject", {