Skip to content

Commit

Permalink
[Composer] Fixed failing integration tests
Browse files Browse the repository at this point in the history
For more details see #247 and ezsystems/ezplatform-kernel#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
  • Loading branch information
alongosz authored Oct 4, 2023
1 parent 4f0d1e1 commit d7263fa
Showing 1 changed file with 9 additions and 4 deletions.
13 changes: 9 additions & 4 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -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": {
Expand All @@ -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"
Expand Down

0 comments on commit d7263fa

Please sign in to comment.