1
0
mirror of https://github.com/flarum/core.git synced 2025-09-02 04:33:04 +02:00

chore: fix package manager tests (#3407)

This commit is contained in:
Sami Mazouz
2022-04-25 13:31:16 +01:00
committed by GitHub
parent d465fd27bc
commit b14c0780d2
5 changed files with 55 additions and 27 deletions

View File

@@ -23,7 +23,7 @@
},
"require": {
"flarum/core": "^1.0.0",
"composer/composer": "^2.0"
"composer/composer": "^2.3"
},
"require-dev": {
"flarum/testing": "^1.0.0",
@@ -86,7 +86,7 @@
"test:integration": "phpunit -c tests/phpunit.integration.xml",
"test:setup": [
"@php tests/integration/setup.php",
"cd $FLARUM_TEST_TMP_DIR_LOCAL && composer install"
"cd ${FLARUM_TEST_TMP_DIR_LOCAL:-${FLARUM_TEST_TMP_DIR:-./tests/integration/tmp}} && composer install"
]
},
"scripts-descriptions": {