Skip to content
This repository has been archived by the owner on Aug 11, 2021. It is now read-only.

Commit

Permalink
fixed up unit-tests for new username lookup.
Browse files Browse the repository at this point in the history
  • Loading branch information
bcoe authored and othiym23 committed Jan 16, 2015
1 parent 5eb31ed commit a85a491
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion test/star.js
Original file line number Diff line number Diff line change
Expand Up @@ -149,7 +149,9 @@ test("if token auth, sets bearer on get and put", function(t) {
}
})
.get('/-/whoami')
.reply(200)
.reply(200, {
username: 'bcoe'
})

var starPut = nock('http://localhost:1010', {
reqheaders: {
Expand Down

0 comments on commit a85a491

Please sign in to comment.