Skip to content

Commit 36b43a6

Browse files
committed
Tests] Fix functional tests Turbo
1 parent ed37089 commit 36b43a6

File tree

2 files changed

+8
-1
lines changed

2 files changed

+8
-1
lines changed

.github/workflows/functional-tests.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -62,6 +62,11 @@ jobs:
6262
composer config minimum-stability ${{ matrix.minimum-stability || 'stable' }}
6363
composer update ${{ matrix.dependency-version == 'lowest' && '--prefer-lowest' || '' }} --no-progress --no-interaction
6464
65+
- name: Install web-browser drivers
66+
working-directory: src/Turbo
67+
run: |
68+
php vendor/bin/bdi detect drivers
69+
6570
- name: Install JavaScript dependencies
6671
working-directory: src/Turbo/tests/app
6772
run: |

src/Turbo/phpunit.xml.dist

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,10 @@
1212
<ini name="error_reporting" value="-1"/>
1313
<env name="SHELL_VERBOSITY" value="-1"/>
1414
<env name="SYMFONY_DEPRECATIONS_HELPER" value="max[self]=0&amp;max[direct]=0"/>
15+
<env name="APP_ENV" value="test" force="true" />
16+
<env name="APP_DEBUG" value="false" force="true" />
1517
<env name="KERNEL_CLASS" value="App\Kernel"/>
16-
<env name="PANTHER_WEB_SERVER_DIR" value="./tests/app/public"/>
18+
<server name="PANTHER_WEB_SERVER_DIR" value="./tests/app/public"/>
1719
</php>
1820

1921
<testsuites>

0 commit comments

Comments
 (0)