Skip to content

Commit 3a6abf9

Browse files
committed
Fix capitalization of "Bearer"
1 parent 86a7896 commit 3a6abf9

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

test/integration/index_test.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -222,7 +222,7 @@ describe('ExpressOAuthServer', function() {
222222
request(app.listen())
223223
.post('/')
224224
.send('client_id=foo&client_secret=bar&grant_type=password&username=qux&password=biz')
225-
.expect({ access_token: 'foobar', token_type: 'bearer' })
225+
.expect({ access_token: 'foobar', token_type: 'Bearer' })
226226
.end(done);
227227
});
228228

@@ -245,7 +245,7 @@ describe('ExpressOAuthServer', function() {
245245
request(app.listen())
246246
.post('/')
247247
.send('client_id=foo&client_secret=bar&grant_type=password&username=qux&password=biz')
248-
.expect({ access_token: 'foobar', token_type: 'bearer' })
248+
.expect({ access_token: 'foobar', token_type: 'Bearer' })
249249
.end(done);
250250
});
251251

@@ -268,7 +268,7 @@ describe('ExpressOAuthServer', function() {
268268
request(app.listen())
269269
.post('/')
270270
.send('client_id=foo&client_secret=bar&grant_type=password&username=qux&password=biz')
271-
.expect({ access_token: 'foobar', refresh_token: 'foobiz', token_type: 'bearer' })
271+
.expect({ access_token: 'foobar', refresh_token: 'foobiz', token_type: 'Bearer' })
272272
.end(done);
273273
});
274274

0 commit comments

Comments
 (0)