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

Case insensitive tests #683

Merged
merged 13 commits into from
Sep 3, 2020
Merged

Case insensitive tests #683

merged 13 commits into from
Sep 3, 2020

Conversation

JosephGaynier
Copy link
Contributor

@JosephGaynier JosephGaynier commented Sep 2, 2020

Only tests email and username toLower in controllers. Most of the logic needing to be tested are in the services.


This change is Reviewable

@JosephGaynier JosephGaynier self-assigned this Sep 2, 2020
Copy link
Collaborator

@imnasnainaec imnasnainaec left a comment

Choose a reason for hiding this comment

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

Reviewed 4 of 5 files at r6.
Reviewable status: :shipit: complete! all files reviewed, all discussions resolved (waiting on @StevesBro)


Backend.Tests/UserControllerTests.cs, line 172 at r6 (raw file):

            var result4 = (_controller.CheckEmail("NewEmail")).Result as StatusCodeResult;
            Assert.AreEqual(result4.StatusCode, 200);

There's about a 0.000000001% chance this test will fail. :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants