Skip to content

Commit 71a1609

Browse files
author
Ben Stahl
committed
Fix test for updated location header
1 parent d56bd5a commit 71a1609

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/Test-PostHandler.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ describe('PostHandler', () => {
4040

4141
handler.send(req, res)
4242
.then(() => {
43-
assert.equal(hasHeader(res, { 'Location': 'http://localhost:3000/files/-files' }), true);
43+
assert.equal(hasHeader(res, { 'Location': '//localhost:3000/files/-files' }), true);
4444
assert.equal(res.statusCode, 201);
4545
return done();
4646
})

0 commit comments

Comments
 (0)