stats4sd / aec_portfolio

A proof of concept for the AEC Consortium Project Management / Assessment System
GNU General Public License v3.0
0 stars 0 forks source link

Database Seeders for manual (and eventually automatic) testing #54

Closed dave-mills closed 1 year ago

dave-mills commented 1 year ago

This small PR adds some more database seeders. Previuosly, php artisan migrate:fresh --seed would populate the user, roles, permissions tables with a set of test users, but there were still things missing that would need to be recreated each time.

With this update, we can now completely refresh the database with php artisan migrate:fresh --seed, and get a new database with:

These seeders are intended to be used for manual reviews, but could also be used for automated testing.