Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

implement username change #155

Merged
merged 2 commits into from May 11, 2016
Merged

implement username change #155

merged 2 commits into from May 11, 2016

Conversation

codyzu
Copy link
Member

@codyzu codyzu commented May 9, 2016

issue #79

@codyzu
Copy link
Member Author

codyzu commented May 11, 2016

@gr2m ready!

note: I had to refactor the mocks in tests to allow me to sometimes return a user doc with a different username... Let me know if we can/should improve this.

@codyzu codyzu added ready and removed in progress labels May 11, 2016
@gr2m gr2m mentioned this pull request May 11, 2016
t.is(couchdb.pendingMocks()[0], undefined, 'all mocks satisfied')

t.is(response.statusCode, 204, 'returns 204 status')
t.is(response.result, null, 'returns no body')
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

can we check for the x-set-session response header here as implemented in #80?

@gr2m
Copy link
Member

gr2m commented May 11, 2016

great work, just a minor comment: #155 (comment). Other than that: LGTM!

ping @hoodiehq/maintainers

@codyzu
Copy link
Member Author

codyzu commented May 11, 2016

@gr2m good idea... done!
I used this tonic to calculate the sessionId: https://tonicdev.com/57338e6682e0151100b86db5/57338e6682e0151100b86db6

@gr2m gr2m merged commit 1123634 into master May 11, 2016
@gr2m gr2m removed the ready label May 11, 2016
@gr2m gr2m deleted the issue/79-v2 branch May 11, 2016 20:51
@gr2m
Copy link
Member

gr2m commented May 11, 2016

Many of our maintainers are conferencing / traveling right now, so I gave this another look and tested it locally with hoodie-account – it all worsk great. Thanks @codyzu, this will soon be released as v3.1.1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants