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

Don't create default admin user when running in app test mode #2124

Merged
merged 2 commits into from
Apr 14, 2017

Conversation

brent-hoover
Copy link
Collaborator

@brent-hoover brent-hoover commented Apr 14, 2017

Apparently you can't run Accounts.createUser in test mode.

This feels a little bit terrible except that we probably shouldn't creating any users in startup when testing, and create whatever users you need in your tests.

@aaronjudd aaronjudd merged commit cbf602f into development Apr 14, 2017
@aaronjudd aaronjudd removed the review label Apr 14, 2017
@aaronjudd aaronjudd deleted the brent-fix-test-runner branch April 14, 2017 18:53
@spencern spencern mentioned this pull request Oct 11, 2017
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.

2 participants