Skip to content
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

Add verifications to User model #63

Merged
merged 1 commit into from
Nov 23, 2017
Merged

Conversation

SandroMachado
Copy link
Contributor

@SandroMachado SandroMachado commented Nov 20, 2017

This PR adds the verifications to the User model.

XCTAssertEqual(user.verifications!.address?.reason, "foo", "Failed: Address reason didn't match.")
XCTAssertEqual(user.verifications!.address?.status, "bar", "Failed: Address status didn't match.")
XCTAssertEqual(user.verifications!.birthdate?.reason, "fiz", "Failed: Birthdate reason didn't match.")
XCTAssertEqual(user.verifications!.birthdate?.status, "biz", "Failed: Birtdate status didn't match.")
Copy link
Member

Choose a reason for hiding this comment

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

Birthdate status didn't match

XCTAssertEqual(user!.verifications!.address!.reason, "foo", "Failed: Address reason didn't match.")
XCTAssertEqual(user!.verifications!.address!.status, "bar", "Failed: Address status didn't match.")
XCTAssertEqual(user!.verifications!.birthdate!.reason, "fiz", "Failed: Birthdate reason didn't match.")
XCTAssertEqual(user!.verifications!.birthdate!.status, "biz", "Failed: Birtdate status didn't match.")
Copy link
Member

Choose a reason for hiding this comment

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

Birthdate status didn't match

@SandroMachado SandroMachado force-pushed the feature/add-verifications branch from 28456e7 to 9b3c27b Compare November 22, 2017 11:22
@SandroMachado
Copy link
Contributor Author

@d-moreira updated.

@ruipenso ruipenso merged commit 251e05c into master Nov 23, 2017
@ruipenso ruipenso deleted the feature/add-verifications branch November 23, 2017 14:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants