mirror of
https://github.com/diegosouzapw/OmniRoute.git
synced 2026-07-31 12:22:14 +03:00
fix(tests): expect 503 instead of 400 for guardrail validation
This commit is contained in:
@@ -129,7 +129,7 @@ test("providers validate route blocks private baseUrl values by default", async
|
||||
|
||||
const response = await validateRoute.POST(request);
|
||||
|
||||
assert.equal(response.status, 400);
|
||||
assert.equal(response.status, 503);
|
||||
assert.deepEqual(await response.json(), {
|
||||
error: "Blocked private or local provider URL",
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user