Resolve "SeedsPermissions cache breaks some seeders in tests"
Closes #4 (closed)
The static roles cache isn't reset between tests, so I've added a local one inside seedsPermissions()
. It'll reset with each call to the function, but still saves repeated calls to the DB or Laravel cache within the loop.
Edited by Rick Hambrook