auth

Paddy 2014-09-07 Parent:607708cd8829 Child:bd274615ce72

34:14599a5c7819 Go to Latest

auth/client_test.go

Further grant testing. Use the %T format to return the name of the GrantStore that failed the test, rather than just returning the position of the store. Test that storing a grant twice yields an ErrGrantAlreadyExists. Test that retrieving a grant that doesn't exist yields an ErrGrantNotFound. Compare returned grants against expectations.

History