Skip to content

Commit

Permalink
Merge pull request #33 from maxtruxa/fix-tests-bearer
Browse files Browse the repository at this point in the history
Fix capitalization of "Bearer"
  • Loading branch information
mjsalinger authored Nov 10, 2016
2 parents ce03b97 + 3a6abf9 commit 8cb05a0
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions test/integration/index_test.js
Original file line number Diff line number Diff line change
Expand Up @@ -222,7 +222,7 @@ describe('ExpressOAuthServer', function() {
request(app.listen())
.post('/')
.send('client_id=foo&client_secret=bar&grant_type=password&username=qux&password=biz')
.expect({ access_token: 'foobar', token_type: 'bearer' })
.expect({ access_token: 'foobar', token_type: 'Bearer' })
.end(done);
});

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

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

Expand Down

0 comments on commit 8cb05a0

Please sign in to comment.