We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
that directly puts the user in the test storage db (needs to be here rather than nxus-tester to have access to the right storage module.
nxus-tester
storage
tester.createUser = async function (email, password = 'test', admin=false) { let User = await storage.getModel('users-user') return User.findOrCreate({email}, {email, password, admin, enabled: true}) }
The text was updated successfully, but these errors were encountered:
No branches or pull requests
that directly puts the user in the test storage db (needs to be here rather than
nxus-tester
to have access to the rightstorage
module.The text was updated successfully, but these errors were encountered: