doubleunion / arooo

Membership management for hacker/makerspaces
GNU General Public License v3.0
66 stars 55 forks source link

populate:users should create an admin user (#796) #797

Closed ItsElaineTime closed 1 year ago

ItsElaineTime commented 1 year ago

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?

From a fresh database, ran populate:users. Verified one admin user was created.

Are any database migrations required by this change?

No.

Are there any configuration or environment changes needed?

No.

Screenshots please :)

n/a

ItsElaineTime commented 1 year ago

ignore