spatie/laravel-permission

Teams test suite fails if the cache driver is set to `database`

drbyte opened this issue · 0 comments

drbyte commented

Currently if the Cache Driver is set to database in TestCase.php, the tests for the Teams features fail because of the db query logger getting reset.

// FOR MANUAL TESTING OF ALTERNATE CACHE STORES:
// $app['config']->set('cache.default', 'array');
//Laravel supports: array, database, file
//requires extensions: apc, memcached, redis, dynamodb, octane