Commit 2057bb6a by Ben Drucker

Update test for fixed basic auth header

* should be base 64 encoded '{{user}}:' * previously left out colon
parent 50f1cc3f
...@@ -118,7 +118,7 @@ describe('Client', function () { ...@@ -118,7 +118,7 @@ describe('Client', function () {
it('sends a basic auth header', function () { it('sends a basic auth header', function () {
mock mock
.get('/v1/people/email/bvdrucker@gmail.com') .get('/v1/people/email/bvdrucker@gmail.com')
.matchHeader('Authorization', 'Basic aw==') .matchHeader('Authorization', 'Basic azo=')
.reply(202); .reply(202);
return client.request({ return client.request({
api: 'person', api: 'person',
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment