Skip to content

Commit 3853841

Browse files
committed
minor #3206 Fix tests (fabpot)
This PR was merged into the 1.x branch. Discussion ---------- Fix tests Commits ------- 8a6010f Fix tests
2 parents badf167 + 8a6010f commit 3853841

File tree

3 files changed

+3
-4
lines changed

3 files changed

+3
-4
lines changed

composer.json

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,8 +28,7 @@
2828
"symfony/polyfill-ctype": "^1.8"
2929
},
3030
"require-dev": {
31-
"symfony/phpunit-bridge": "^4.4@dev|^5.0",
32-
"symfony/debug": "^3.4|^4.2",
31+
"symfony/phpunit-bridge": "^4.4|^5.0",
3332
"psr/container": "^1.0"
3433
},
3534
"autoload": {

drupal_test.sh

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,6 @@ source output
1717
wget https://get.symfony.com/cli/installer -O - | bash
1818
export PATH="$HOME/.symfony/bin:$PATH"
1919
symfony server:start -d --no-tls
20-
ENDPOINT=`symfony server:status -no-ansi | sed -E 's/^.+ http/http/'`
2120

2221
curl -OLsS https://get.blackfire.io/blackfire-player.phar
2322
chmod +x blackfire-player.phar
@@ -47,5 +46,5 @@ scenario
4746
click link('Structure')
4847
expect status_code() == 200
4948
EOF
50-
./blackfire-player.phar run drupal-tests.bkf --endpoint=$ENDPOINT --variable name=$DRUPAL_Username --variable pass=$DRUPAL_Password
49+
./blackfire-player.phar run drupal-tests.bkf --endpoint=`symfony var:export SYMFONY_DEFAULT_ROUTE_URL` --variable name=$DRUPAL_Username --variable pass=$DRUPAL_Password
5150
symfony server:stop

phpunit.xml.dist

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@
1919
<php>
2020
<ini name="error_reporting" value="-1" />
2121
<ini name="xdebug.overload_var_dump" value="0" />
22+
<server name="SYMFONY_PHPUNIT_VERSION" value="7.5" />
2223
</php>
2324

2425
<listeners>

0 commit comments

Comments
 (0)