Skip to content
This repository has been archived by the owner on May 19, 2024. It is now read-only.

Mocking Tests #149

Open
lucasisaza opened this issue Aug 28, 2017 · 0 comments
Open

Mocking Tests #149

lucasisaza opened this issue Aug 28, 2017 · 0 comments

Comments

@lucasisaza
Copy link
Contributor

lucasisaza commented Aug 28, 2017

Need to use mocks to write tests for #89 Single User Registration since testing an implementation of identity requires that we write a lot (too many) fakes that it would be easier to mock. This is something that needs to be done at some point in order for the test to pass.

The specific test we are trying to pass is RegisterUser_FirstUser_LocalRedirect() which will register the first user and assure that they get registered correctly. In order to do so we need to create multiple fakes that would be much easier to do if we used mocks.

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

No branches or pull requests

2 participants