Browse code

Fix tests

Fabien Potencier authored on 28/11/2019 12:45:26
Showing 3 changed files
... ...
@@ -28,8 +28,7 @@
28 28
         "symfony/polyfill-ctype": "^1.8"
29 29
     },
30 30
     "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",
33 32
         "psr/container": "^1.0"
34 33
     },
35 34
     "autoload": {
... ...
@@ -17,7 +17,6 @@ source output
17 17
 wget https://get.symfony.com/cli/installer -O - | bash
18 18
 export PATH="$HOME/.symfony/bin:$PATH"
19 19
 symfony server:start -d --no-tls
20
-ENDPOINT=`symfony server:status -no-ansi | sed -E 's/^.+ http/http/'`
21 20
 
22 21
 curl -OLsS https://get.blackfire.io/blackfire-player.phar
23 22
 chmod +x blackfire-player.phar
... ...
@@ -47,5 +46,5 @@ scenario
47 46
     click link('Structure')
48 47
         expect status_code() == 200
49 48
 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
51 50
 symfony server:stop
... ...
@@ -19,6 +19,7 @@
19 19
   <php>
20 20
     <ini name="error_reporting" value="-1" />
21 21
     <ini name="xdebug.overload_var_dump" value="0" />
22
+    <server name="SYMFONY_PHPUNIT_VERSION" value="7.5" />
22 23
   </php>
23 24
 
24 25
   <listeners>