From d7263fad4bb5bb0f71e7df7d62ad275162ddfd15 Mon Sep 17 00:00:00 2001 From: Andrew Longosz Date: Wed, 4 Oct 2023 16:04:08 +0200 Subject: [PATCH] [Composer] Fixed failing integration tests For more details see https://github.com/ezsystems/ezplatform-solr-search-engine/pull/247 and https://github.com/ezsystems/ezplatform-kernel/pull/387 Key changes: * [Composer] Added league/flysystem-memory and sorted packages (needed for Kernel-based integration tests) * Installed symfony/proxy-manager-bridge * Disabled process timeout when running integration tests --- composer.json | 13 +++++++++---- 1 file changed, 9 insertions(+), 4 deletions(-) diff --git a/composer.json b/composer.json index d98aa1fd..93519f8a 100644 --- a/composer.json +++ b/composer.json @@ -25,12 +25,14 @@ }, "require-dev": { "ezsystems/doctrine-dbal-schema": "^1.0@dev", - "phpunit/phpunit": "^8.2", - "matthiasnoback/symfony-dependency-injection-test": "^4.1", "ezsystems/ezplatform-code-style": "^0.1.0", + "league/flysystem-memory": "^1.0", + "matthiasnoback/symfony-dependency-injection-test": "^4.1", "phpstan/phpstan": "^1.8", "phpstan/phpstan-phpunit": "^1.1", - "phpstan/phpstan-symfony": "^1.2" + "phpstan/phpstan-symfony": "^1.2", + "phpunit/phpunit": "^8.2", + "symfony/proxy-manager-bridge": "^5.4" }, "autoload": { "psr-4": { @@ -51,7 +53,10 @@ }, "scripts": { "test": "phpunit --bootstrap tests/bootstrap.php -c phpunit.xml", - "test-integration-solr": "phpunit --bootstrap tests/bootstrap.php -c vendor/ezsystems/ezplatform-kernel/phpunit-integration-legacy-solr.xml", + "test-integration-solr": [ + "Composer\\Config::disableProcessTimeout", + "phpunit --bootstrap tests/bootstrap.php -c vendor/ezsystems/ezplatform-kernel/phpunit-integration-legacy-solr.xml" + ], "fix-cs": "php-cs-fixer fix -v --show-progress=estimating", "check-cs": "php-cs-fixer fix --dry-run -v --show-progress=estimating", "phpstan": "phpstan analyse"