100% test coverage on account service!
This commit is contained in:
parent
5a540184c9
commit
8be785cd8b
5 changed files with 76 additions and 31 deletions
|
|
@ -16,8 +16,7 @@ type AccountRepository interface {
|
|||
// Create an account, returning the new account ID.
|
||||
Create(username string, password string, email *string, avatarURL *string) (string, error)
|
||||
|
||||
// Intended for large profile updates. For smaller adjusments,
|
||||
// more specialised Change* and Remove* functions should be used.
|
||||
// Deprecated in favour of more specialised Change* and Remove* functions.
|
||||
Update(id string, username string, password string, email *string, avatarUrl *string) error
|
||||
ChangeUsername(id string, username string) error
|
||||
ChangePassword(id string, password string) error
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue