Skip to content

Commit dbcd28a

Browse files
committed
used server variable instead of env
1 parent 0ad3ce5 commit dbcd28a

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

.github/workflows/integration-test-aura.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ jobs:
2828
php_version: 8.0
2929
version: 2
3030
- name: clean database
31-
run: echo $CONNECTION && CONNECTION=$CONNECTION php tests/clean-database.php
31+
run: CONNECTION=$CONNECTION php tests/clean-database.php
3232
- uses: php-actions/phpunit@v3
3333
with:
3434
configuration: phpunit.xml.dist

tests/clean-database.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515

1616
require __DIR__.'/../vendor/autoload.php';
1717

18-
$connection = $_ENV['CONNECTION'] ?? 'neo4j://neo4j:testtest@localhost';
18+
$connection = $_SERVER['CONNECTION'] ?? 'neo4j://neo4j:testtest@localhost';
1919

2020
echo '================================================================================'.PHP_EOL;
2121
echo 'CLEANING DATABASE neo4j OVER CONNECTION: ';

0 commit comments

Comments
 (0)