We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent dbcd28a commit f41e116Copy full SHA for f41e116
tests/clean-database.php
@@ -12,13 +12,15 @@
12
*/
13
14
use Laudis\Neo4j\Basic\Driver;
15
+use Laudis\Neo4j\Common\Uri;
16
17
require __DIR__.'/../vendor/autoload.php';
18
19
$connection = $_SERVER['CONNECTION'] ?? 'neo4j://neo4j:testtest@localhost';
20
+$connection = Uri::create($connection);
21
22
echo '================================================================================'.PHP_EOL;
23
echo 'CLEANING DATABASE neo4j OVER CONNECTION: ';
-echo $connection.PHP_EOL;
24
+echo $connection->withUserInfo('')->__toString().PHP_EOL;
25
26
Driver::create($connection)->createSession()->run('MATCH (x) DETACH DELETE x');
0 commit comments