auth

Paddy 2014-10-15 Parent:116342ffc65f Child:a5987795707e

52:aff6863e3cb3 Go to Latest

auth/http.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