refactor(auth): remove keys auth module and align tests
- remove server auth module and client keys page/routes/api to simplify flow - update mcp and scenario tests to match uuid routes and step schema
This commit is contained in:
@@ -160,7 +160,7 @@ describe("EnvironmentController", () => {
|
||||
});
|
||||
|
||||
it("returns 404 for unknown id", async () => {
|
||||
await request(app.getHttpServer()).get("/environments/99999").expect(404);
|
||||
await request(app.getHttpServer()).get("/environments/00000000-0000-0000-0000-000000000001").expect(404);
|
||||
});
|
||||
|
||||
it("returns 400 for non-numeric id", async () => {
|
||||
@@ -187,7 +187,7 @@ describe("EnvironmentController", () => {
|
||||
|
||||
it("returns 404 for unknown id", async () => {
|
||||
await request(app.getHttpServer())
|
||||
.patch("/environments/99999")
|
||||
.patch("/environments/00000000-0000-0000-0000-000000000001")
|
||||
.send({ name: "x" })
|
||||
.expect(404);
|
||||
});
|
||||
@@ -213,7 +213,7 @@ describe("EnvironmentController", () => {
|
||||
|
||||
it("returns 404 for unknown id", async () => {
|
||||
await request(app.getHttpServer())
|
||||
.delete("/environments/99999")
|
||||
.delete("/environments/00000000-0000-0000-0000-000000000001")
|
||||
.expect(404);
|
||||
});
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user