We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4c3a086 commit a3e047fCopy full SHA for a3e047f
1 file changed
test/matches.e2e-spec.ts
@@ -26,8 +26,8 @@ describe("Matches (e2e)", () => {
26
const response = await request(app.getHttpServer())
27
.get("/matches/current-match/nonexistent-server");
28
29
- // Without a valid server ID, should return 404 or error
30
- expect([400, 404, 500]).toContain(response.status);
+ // Without a valid server ID, should return 401, 404, or error
+ expect([400, 401, 404, 500]).toContain(response.status);
31
});
32
33
0 commit comments