diff --git a/end2end/tests/hono-xml-blocklists.test.js b/end2end/tests/hono-xml-blocklists.test.js index f1d0a9f8..a39e8065 100644 --- a/end2end/tests/hono-xml-blocklists.test.js +++ b/end2end/tests/hono-xml-blocklists.test.js @@ -22,19 +22,6 @@ t.beforeEach(async () => { }, body: JSON.stringify({ allowedIPAddresses: ["1.3.2.1"], - endpoints: [ - { - route: "/route-level", - method: "GET", - forceProtectionOff: false, - allowedIPAddresses: ["1.3.2.2"], - rateLimiting: { - enabled: true, - maxRequests: 1, - windowSizeInMS: 60 * 1000, - }, - }, - ], }), }); t.same(config.status, 200); @@ -257,14 +244,6 @@ t.test("it does not block bypass IP if in blocklist", (t) => { signal: AbortSignal.timeout(5000), }); t.same(resp1.status, 200); - - const resp2 = await fetch("http://127.0.0.1:4004/route-level", { - headers: { - "X-Forwarded-For": "1.3.2.2", - }, - signal: AbortSignal.timeout(5000), - }); - t.same(resp2.status, 200); }) .catch((error) => { t.fail(error);