Unverified Commit cee71e4a authored by Hendrik Liebau's avatar Hendrik Liebau Committed by GitHub

[test] Use `next-data-api-endpoint` for Middleware HTTP method tests (#86157)

We use `https://next-data-api-endpoint.vercel.app` for most of our e2e test API calls. The `middleware-fetches-with-any-http-method` test suite was using `https://http-echo-kou029w.vercel.app`, which was soft-deleted recently, and that caused the tests to fail. Now we're using the `next-data-api-endpoint` for this test suite as well.
parent 97dd708e
......@@ -19,7 +19,7 @@ describe('Middleware fetches with any HTTP method', () => {
'middleware.js': `
import { NextResponse } from 'next/server';
const HTTP_ECHO_URL = 'https://http-echo-kou029w.vercel.app/';
const HTTP_ECHO_URL = 'https://next-data-api-endpoint.vercel.app/api/echo-headers';
export default async (req) => {
const kind = req.nextUrl.searchParams.get('kind')
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment