1
0
Fork 0
mirror of https://github.com/archtechx/tenancy.git synced 2026-02-05 14:34:04 +00:00

bump php memory limit when running tests

This commit is contained in:
Samuel Štancl 2025-06-23 13:01:10 +02:00
parent 00cdde896c
commit cb422c1e72

View file

@ -36,6 +36,8 @@ abstract class TestCase extends \Orchestra\Testbench\TestCase
{
parent::setUp();
ini_set('memory_limit', '1G');
Redis::connection('default')->flushdb();
Redis::connection('cache')->flushdb();
Artisan::call('cache:clear memcached'); // flush memcached