File tree Expand file tree Collapse file tree 2 files changed +22
-0
lines changed Expand file tree Collapse file tree 2 files changed +22
-0
lines changed Original file line number Diff line number Diff line change 27
27
progress : yes
28
28
php_version : 8.0
29
29
version : 2
30
+ - name : clean database
31
+ run : php tests/clean-database.php
30
32
- uses : php-actions/phpunit@v3
31
33
with :
32
34
configuration : phpunit.xml.dist
Original file line number Diff line number Diff line change
1
+ <?php
2
+
3
+ declare (strict_types=1 );
4
+
5
+ /*
6
+ * This file is part of the Neo4j PHP Client and Driver package.
7
+ *
8
+ * (c) Nagels <https://nagels.tech>
9
+ *
10
+ * For the full copyright and license information, please view the LICENSE
11
+ * file that was distributed with this source code.
12
+ */
13
+
14
+ use Laudis \Neo4j \Basic \Driver ;
15
+
16
+ require __DIR__ .'/../vendor/autoload.php ' ;
17
+
18
+ $ connection = $ _ENV ['CONNECTION ' ] ?? 'neo4j://neo4j:testtest@localhost ' ;
19
+
20
+ Driver::create ($ connection )->createSession ()->run ('MATCH (x) DETACH DELETE x ' );
You can’t perform that action at this time.
0 commit comments