Skip to content

Commit 151eb8d

Browse files
author
Yuan Xie
committed
LEX-88 Fixing qunit test.
1 parent 4bdd2d2 commit 151eb8d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

qunit/hmac.tests.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -98,14 +98,14 @@ QUnit.test('Test sign(), asserts constructor set config.', function(assert) {
9898
realm: 'my_realm',
9999
public_key: 'my_public_key',
100100
secret_key: 'my_secret_key',
101-
version: '4.0',
101+
version: '2.0',
102102
default_content_type: 'application/XML'
103103
});
104104
var secret_key_words = [-4999, -7, 503316480];
105105
assert.equal(HMAC_test_constructor.config.realm, 'my_realm', 'constructor() sets realm.');
106106
assert.equal(HMAC_test_constructor.config.public_key, 'my_public_key', 'constructor() sets public_key.');
107107
assert.deepEqual(HMAC_test_constructor.config.parsed_secret_key.words, secret_key_words, 'constructor() sets secret_key.');
108-
assert.equal(HMAC_test_constructor.config.version, '4.0', 'constructor() sets version.');
108+
assert.equal(HMAC_test_constructor.config.version, '2.0', 'constructor() sets version.');
109109
assert.equal(HMAC_test_constructor.config.default_content_type, 'application/XML', 'constructor() sets default_content_type.');
110110
});
111111

0 commit comments

Comments
 (0)