Skip to content

Commit eac582b

Browse files
authored
tests: Change 'encoding' to 'output' in createHash test
1 parent 8e92776 commit eac582b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/unit/utils/crypto-util_test.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ require('chai').should();
44
describe(cryptoUtil.createHash.name, function () {
55
it('creates a hash by given algorithm', function () {
66
const data = 'client-credentials-grant';
7-
const hash = cryptoUtil.createHash({ data, encoding: 'hex' });
7+
const hash = cryptoUtil.createHash({ data, output: 'hex' });
88
hash.should.equal('072726830f0aadd2d91f86f53e3a7ef40018c2626438152dd576e272bf2b8e60');
99
});
1010
it('should throw if data is missing', function () {

0 commit comments

Comments
 (0)