File tree Expand file tree Collapse file tree 3 files changed +12
-7
lines changed Expand file tree Collapse file tree 3 files changed +12
-7
lines changed Original file line number Diff line number Diff line change @@ -53,7 +53,7 @@ public function run(iterable $statements): Vector
53
53
{
54
54
$ request = $ this ->factory ->post ($ this ->data , $ statements );
55
55
$ uri = $ request ->getUri ();
56
- $ request = $ request ->withUri ($ uri ->withPath ($ uri ->getPath () . '/commit ' ));
56
+ $ request = $ request ->withUri ($ uri ->withPath ($ uri ->getPath (). '/commit ' ));
57
57
$ response = $ this ->client ->sendRequest ($ request );
58
58
$ data = $ this ->interpretResponse ($ response );
59
59
Original file line number Diff line number Diff line change 1
1
<?php
2
+
2
3
declare (strict_types=1 );
3
4
5
+ /*
6
+ * This file is part of the Laudis Neo4j package.
7
+ *
8
+ * (c) Laudis technologies <http://laudis.tech>
9
+ *
10
+ * For the full copyright and license information, please view the LICENSE
11
+ * file that was distributed with this source code.
12
+ */
4
13
5
14
namespace Laudis \Neo4j \Tests \Integration ;
6
15
7
-
8
16
use Laudis \Neo4j \ClientBuilder ;
9
17
use Laudis \Neo4j \Contracts \ClientInterface ;
10
18
use Laudis \Neo4j \Databags \Statement ;
@@ -47,7 +55,7 @@ public function testConsistency(string $alias): void
47
55
public function testConsistencyTransaction (string $ alias ): void
48
56
{
49
57
$ tsx = $ this ->client ->openTransaction ([
50
- Statement::create ('CREATE (n:aaa) SET n.name="aaa" return n ' )
58
+ Statement::create ('CREATE (n:aaa) SET n.name="aaa" return n ' ),
51
59
], $ alias );
52
60
53
61
$ tsx ->commit ([Statement::create ('CREATE (n:bbb) SET n.name="bbb" return n ' )]);
@@ -67,7 +75,7 @@ public function aliases(): array
67
75
return [
68
76
['http ' ],
69
77
['bolt ' ],
70
- ['neo4j ' ]
78
+ ['neo4j ' ],
71
79
];
72
80
}
73
81
}
Original file line number Diff line number Diff line change 17
17
use Buzz \Exception \NetworkException ;
18
18
use InvalidArgumentException ;
19
19
use Laudis \Neo4j \ClientBuilder ;
20
- use Laudis \Neo4j \Exception \Neo4jException ;
21
- use Laudis \Neo4j \Network \Bolt \BoltInjections ;
22
- use Laudis \Neo4j \Network \Http \HttpInjections ;
23
20
use PHPUnit \Framework \TestCase ;
24
21
25
22
final class ClientBuilderTest extends TestCase
You can’t perform that action at this time.
0 commit comments