Documentation ¶
Index ¶
- Variables
- type Tester
- func (t *Tester) All()
- func (t *Tester) Check(check, other *user.Account)
- func (t *Tester) Equals(a *user.Account, r *user.NewAccountRequest)
- func (t *Tester) Get(n user.Name, check *user.Account)
- func (t *Tester) GetByEmail(email string, check *user.Account)
- func (t *Tester) GetByEmailNotFound(email string)
- func (t *Tester) GetNotFound(n user.Name)
- func (t *Tester) NewTwice(r *user.NewAccountRequest) *user.Account
- func (t *Tester) NotExist(n user.Name)
- func (t *Tester) Tokens(n user.Name)
- func (t *Tester) UpdateAccount(a *user.Account)
Constants ¶
This section is empty.
Variables ¶
View Source
var Account = &user.NewAccountRequest{ Name: "testUser", UILocale: "en-us", Email: "test@test.com", PasswordHash: []byte("testPW"), }
Functions ¶
This section is empty.
Types ¶
type Tester ¶
func (*Tester) GetByEmailNotFound ¶
func (*Tester) GetNotFound ¶
func (*Tester) UpdateAccount ¶
Click to show internal directories.
Click to hide internal directories.