auth

Paddy 2014-10-15 Parent:73a9f7a6af54 Child:e45bfa2abc00

52:aff6863e3cb3 Go to Latest

auth/profile.go

Move HTTP tests to http_test.go, rename the GetGrant test. Rename the GetGrant test to something that makes it more obvious, and indicate that we're only testing for successful responses in this function (e.g., responses that should be successfully handled). Another function will deal with failure modes. Move the function to a new http_test.go file. The model files are shouldn't have information about how the models are being represented.

History