tests: fix Bearer token test

This commit is contained in:
Ryan Graham 2015-01-14 13:31:30 -08:00
parent 55bc20ee0d
commit 83d8844b70
1 changed files with 1 additions and 1 deletions

View File

@ -34,7 +34,7 @@ describe('loopback.token(options)', function() {
token = 'Bearer ' + new Buffer(token).toString('base64');
createTestAppAndRequest(this.token, done)
.get('/')
.set('authorization', this.token.id)
.set('authorization', token)
.expect(200)
.end(done);
});