Skip to content

Commit

Permalink
[adhoc] Update verbs test to use a non-deprecated attribute.
Browse files Browse the repository at this point in the history
  • Loading branch information
nik-blue-lava committed Sep 4, 2023
1 parent 530cb97 commit d51a3bd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/verbs.js
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ describe('http verbs', function () {
.get('/get')
.end(function (err, res) {
if (err) { return done(err); }
assert(/node-superagent/.test(res.body.headers['User-Agent']));
assert(/httpbin.org/.test(res.body.headers['Host']));
assert.equal(res.body.url, 'http://httpbin.org/get');
done(err);
});
Expand Down

0 comments on commit d51a3bd

Please sign in to comment.