Skip to content

Commit 052b2bf

Browse files
committed
Fixed test to match expected error
1 parent 28fd783 commit 052b2bf

File tree

2 files changed

+1930
-2
lines changed

2 files changed

+1930
-2
lines changed

test/integration/grant-types/refresh-token-grant-type_test.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -262,7 +262,7 @@ describe('RefreshTokenGrantType integration', function() {
262262
.then(should.fail)
263263
.catch(function(e) {
264264
e.should.be.an.instanceOf(InvalidGrantError);
265-
e.message.should.equal('Invalid grant: refresh token is invalid');
265+
e.message.should.equal('Invalid grant: refresh token was issued to another client');
266266
});
267267
});
268268

@@ -304,7 +304,7 @@ describe('RefreshTokenGrantType integration', function() {
304304
.then(should.fail)
305305
.catch(function(e) {
306306
e.should.be.an.instanceOf(InvalidGrantError);
307-
e.message.should.equal('Invalid grant: refresh token is invalid');
307+
e.message.should.equal('Invalid grant: refresh token was issued to another client');
308308
});
309309
});
310310

0 commit comments

Comments
 (0)