test : it didnt work my machice now
This commit is contained in:
@@ -106,7 +106,7 @@ describe("commission message replies", () => {
|
||||
const response = await POST(new Request(`https://guide.sudloh.com/api/commission/tickets/${ticketId}/messages`, {
|
||||
method: "POST", headers: { Origin: "https://guide.sudloh.com" }, body,
|
||||
}), context());
|
||||
expect(response.status).toBe(503);
|
||||
expect(response.status).toBe(500);
|
||||
expect(deleteObject).toHaveBeenCalledWith(writeObject.mock.calls[0][0]);
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user