auth

Paddy 2015-01-24 Parent:b714af0578dc Child:d103a598548c

129:4f5d13d2f7c7 Go to Latest

auth/context.go

Test our getClientAuth helper, switch to table-based tests. Our getClientAuth helper was being tested implicitly when we tested our verifyClient helper, but let's test them separately. While we're at it, let's use table based tests instead of copy and paste. I noticed a lot of copy/paste errors while I was updating this, and the less test code we have and the easier we make it to test new edge cases, the better of we are.

History