-
-
Notifications
You must be signed in to change notification settings - Fork 5.9k
test: Add user mail testing. #833
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
LGTM |
Email: "[email protected]", | ||
IsActivated: true, | ||
} | ||
assert.NoError(t, AddEmailAddresses(emails)) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Not to be nitpicky, but this function tests both AddEmailAddress(..)
and AddEmailAddresses(..)
. Could we split it into two tests: TestAddEmailAddress
and TestAddEmailAddresses
?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Done! @ethantkoenig
UID: int64(2), | ||
Email: "[email protected]", | ||
} | ||
assert.NoError(t, DeleteEmailAddresses(emails)) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
^
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Done! @ethantkoenig
@appleboy A couple small changes, then it will Look-Good-To-Me |
@ethantkoenig Waiting build result. |
LGTM |
as title.
cc @lunny @ethantkoenig