Open ItsElaineTime opened 1 year ago
Resolves #796
When creating fake users for a development configuration, create an admin user that can be used for testing admin tools.
Run using bundle exec rake populate:users, verified one user had is_admin? return true.
bundle exec rake populate:users
is_admin?
No.
n/a
What github issue is this PR for, if any?
Resolves #796
What does this code do, and why?
When creating fake users for a development configuration, create an admin user that can be used for testing admin tools.
How is this code tested?
Run using
bundle exec rake populate:users
, verified one user hadis_admin?
return true.Are any database migrations required by this change?
No.
Are there any configuration or environment changes needed?
No.
Screenshots please :)
n/a