Skip to content

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

Merged
merged 1 commit into from
Feb 4, 2017
Merged

test: Add user mail testing. #833

merged 1 commit into from
Feb 4, 2017

Conversation

appleboy
Copy link
Member

@appleboy appleboy commented Feb 3, 2017

as title.

cc @lunny @ethantkoenig

@lunny lunny added this to the 1.1.0 milestone Feb 3, 2017
@lunny
Copy link
Member

lunny commented Feb 3, 2017

LGTM

@tboerger tboerger added the lgtm/need 1 This PR needs approval from one additional maintainer to be merged. label Feb 3, 2017
Email: "[email protected]",
IsActivated: true,
}
assert.NoError(t, AddEmailAddresses(emails))
Copy link
Member

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?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

UID: int64(2),
Email: "[email protected]",
}
assert.NoError(t, DeleteEmailAddresses(emails))
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

^

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@ethantkoenig
Copy link
Member

@appleboy A couple small changes, then it will Look-Good-To-Me

@appleboy
Copy link
Member Author

appleboy commented Feb 3, 2017

@ethantkoenig Waiting build result.

@ethantkoenig
Copy link
Member

LGTM

@tboerger tboerger added lgtm/done This PR has enough approvals to get merged. There are no important open reservations anymore. and removed lgtm/need 1 This PR needs approval from one additional maintainer to be merged. labels Feb 3, 2017
@lunny lunny merged commit b6da658 into go-gitea:master Feb 4, 2017
@appleboy appleboy deleted the patch-2002 branch February 4, 2017 03:53
@go-gitea go-gitea locked and limited conversation to collaborators Nov 23, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
lgtm/done This PR has enough approvals to get merged. There are no important open reservations anymore. type/testing
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants