Skip to content

Commit 5fce261

Browse files
committed
Update Middlewares.spec.js
1 parent 687893b commit 5fce261

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

spec/Middlewares.spec.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -174,7 +174,7 @@ describe('middlewares', () => {
174174
await new Promise(resolve => middlewares.handleParseHeaders(fakeReq, fakeRes, resolve));
175175
expect(fakeReq.auth.isMaintenance).toBe(false);
176176
expect(logger.error).toHaveBeenCalledWith(
177-
`Request using maintenance key rejected as the request IP address 'ip3' is not set in Parse Server option 'maintenanceKeyIps'.`
177+
`Request using maintenance key rejected as the request IP address '10.0.0.2' is not set in Parse Server option 'maintenanceKeyIps'.`
178178
);
179179
});
180180

0 commit comments

Comments
 (0)