From cb422c1e72ddd1b7ec9ff9777c75166373d1e620 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Samuel=20=C5=A0tancl?= Date: Mon, 23 Jun 2025 13:01:10 +0200 Subject: [PATCH] bump php memory limit when running tests --- tests/TestCase.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tests/TestCase.php b/tests/TestCase.php index 6a167c46..47af9e7d 100644 --- a/tests/TestCase.php +++ b/tests/TestCase.php @@ -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