Skip to content

Commit ed7bf01

Browse files
committed
Adjust tests to use current x-file-type header name
1 parent 2a9f4ff commit ed7bf01

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

packages/php-wasm/node/src/test/php-request-handler.spec.ts

+2-2
Original file line numberDiff line numberDiff line change
@@ -149,7 +149,7 @@ describe.each(SupportedPHPVersions)(
149149
type: 'response',
150150
response: new PHPResponse(
151151
404,
152-
{ 'x-backfill-from': ['remote-host'] },
152+
{ 'x-file-type': ['static'] },
153153
new TextEncoder().encode('404 File not found')
154154
),
155155
};
@@ -163,7 +163,7 @@ describe.each(SupportedPHPVersions)(
163163
expect(response).toEqual({
164164
httpStatusCode: 404,
165165
headers: {
166-
'x-backfill-from': ['remote-host'],
166+
'x-file-type': ['static'],
167167
},
168168
bytes: expect.any(Uint8Array),
169169
errors: '',

0 commit comments

Comments
 (0)