Skip to content

Commit 636f688

Browse files
committed
fixed tests
1 parent 27b047e commit 636f688

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/httpprovider.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ describe('lib/web3/httpprovider', function () {
1818
var result = provider.prepareRequest(true);
1919

2020
assert.equal(typeof result, 'object');
21-
assert.equal(result.getRequestHeader('Access-Control-Allow-Origin'), '*');
21+
assert.equal(result.headers['Access-Control-Allow-Origin'], '*');
2222
});
2323
});
2424

0 commit comments

Comments
 (0)