Skip to content

Commit e10c8d5

Browse files
committed
fix unit tests
1 parent 9ea7d42 commit e10c8d5

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

tests/unit/tickets.test.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -292,7 +292,7 @@ describe("Test ticket purchase verification", async () => {
292292
ticketId: "nonexistentticketid123456789",
293293
});
294294
const responseDataJson = response.body;
295-
expect(response.statusCode).toEqual(400);
295+
expect(response.statusCode).toEqual(404);
296296
expect(responseDataJson).toEqual({
297297
error: true,
298298
id: 108,
@@ -444,7 +444,7 @@ describe("Test merch purchase verification", async () => {
444444
stripePi: "pi_nonexistent123456",
445445
});
446446
const responseDataJson = response.body;
447-
expect(response.statusCode).toEqual(400);
447+
expect(response.statusCode).toEqual(404);
448448
expect(responseDataJson).toEqual({
449449
error: true,
450450
id: 108,
@@ -478,7 +478,7 @@ describe("Test merch purchase verification", async () => {
478478
stripePi: "pi_8J4NrYdA3S7cW8Ty92FnGJ6L",
479479
});
480480
const responseDataJson = response.body;
481-
expect(response.statusCode).toEqual(400);
481+
expect(response.statusCode).toEqual(404);
482482
expect(responseDataJson).toEqual({
483483
error: true,
484484
id: 108,

0 commit comments

Comments
 (0)