From a85a49107b1a1fdc78784d8713c68dcc24e09b91 Mon Sep 17 00:00:00 2001 From: bcoe Date: Tue, 13 Jan 2015 18:31:39 -0800 Subject: [PATCH] fixed up unit-tests for new username lookup. --- test/star.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/test/star.js b/test/star.js index 8b9ef38..6054a4b 100644 --- a/test/star.js +++ b/test/star.js @@ -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: {