Skip to content

Commit e51fc27

Browse files
committed
fix(test): use string based id in one compliance test for coverage
1 parent 50adf11 commit e51fc27

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/compliance/refresh-token-grant-type_test.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ const auth = new OAuth2Server({
7373
});
7474

7575
const user = db.saveUser({ id: 1, username: 'test', password: 'test'});
76-
const client = db.saveClient({ id: 1, secret: 'b', grants: ['password', 'refresh_token'] });
76+
const client = db.saveClient({ id: '1', secret: 'b', grants: ['password', 'refresh_token'] });
7777
const scope = 'read write';
7878

7979
function createLoginRequest () {

0 commit comments

Comments
 (0)