Skip to content

Commit e49cb21

Browse files
committed
fix: removing memory limit for unit tests
Removing the memory limit when unit tests are running
1 parent 64f3d47 commit e49cb21

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

bin/fix-symfony-version.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66

77
$newVersion = $argv[1];
88

9-
$composer = file_get_contents(__DIR__.'/../composer.json');
9+
$composer = trim(file_get_contents(__DIR__.'/../composer.json'));
1010

1111
$updatedComposer = preg_replace('/"symfony\/(.*)": ".*"/', '"symfony/$1": "'.$newVersion.'"', $composer).\PHP_EOL;
1212
echo $updatedComposer.\PHP_EOL;

docker/bin/test.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -47,4 +47,4 @@ php pkg/job-queue/Tests/Functional/app/console doctrine:database:create --if-not
4747
php pkg/job-queue/Tests/Functional/app/console doctrine:schema:update --force --complete || exit 1
4848

4949
#php pkg/enqueue-bundle/Tests/Functional/app/console.php config:dump-reference enqueue
50-
bin/phpunit "$@"
50+
php -d memory_limit=-1 bin/phpunit "$@"

0 commit comments

Comments
 (0)