You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
if (str_starts_with((string) $connection, 'http')) {
44
45
$this->markTestSkipped('HTTP does not support auth failure connectivity passing');
45
46
}
46
47
@@ -61,14 +62,16 @@ public function testDriverAuthFailureVerifyConnectivity(): void
61
62
$driver = Driver::create($uri, $conf);
62
63
63
64
$this->expectException(Neo4jException::class);
64
-
$this->expectExceptionMessage('Neo4j errors detected. First one with code "Neo.ClientError.Security.Unauthorized" and message "The client is unauthorized due to authentication failure."');
65
+
$this->expectExceptionMessage(
66
+
'Neo4j errors detected. First one with code "Neo.ClientError.Security.Unauthorized" and message "The client is unauthorized due to authentication failure."'
if (str_starts_with((string) $connection, 'http')) {
72
75
$this->markTestSkipped('HTTP does not support auth failure connectivity passing');
73
76
}
74
77
@@ -100,7 +103,9 @@ public function testClientAuthFailureVerifyConnectivity(): void
100
103
$driver = $client->getDriver(null);
101
104
102
105
$this->expectException(Neo4jException::class);
103
-
$this->expectExceptionMessage('Neo4j errors detected. First one with code "Neo.ClientError.Security.Unauthorized" and message "The client is unauthorized due to authentication failure."');
106
+
$this->expectExceptionMessage(
107
+
'Neo4j errors detected. First one with code "Neo.ClientError.Security.Unauthorized" and message "The client is unauthorized due to authentication failure."'
108
+
);
104
109
$driver->verifyConnectivity();
105
110
}
106
111
@@ -128,28 +133,37 @@ public function testAvailabilityFullImplementation(): void
128
133
129
134
publicfunctiontestTransactionFunction(): void
130
135
{
131
-
$result = $this->getSession()->transaction(staticfn (TransactionInterface$tsx) => $tsx->run('UNWIND [1] AS x RETURN x')->first()->getAsInt('x'));
136
+
$result = $this->getSession()->transaction(
137
+
staticfn (TransactionInterface$tsx) => $tsx->run('UNWIND [1] AS x RETURN x')->first()->getAsInt('x')
138
+
);
132
139
133
140
self::assertEquals(1, $result);
134
141
135
-
$result = $this->getSession()->readTransaction(staticfn (TransactionInterface$tsx) => $tsx->run('UNWIND [1] AS x RETURN x')->first()->getAsInt('x'));
142
+
$result = $this->getSession()->readTransaction(
143
+
staticfn (TransactionInterface$tsx) => $tsx->run('UNWIND [1] AS x RETURN x')->first()->getAsInt('x')
144
+
);
136
145
137
146
self::assertEquals(1, $result);
138
147
139
-
$result = $this->getSession()->writeTransaction(staticfn (TransactionInterface$tsx) => $tsx->run('UNWIND [1] AS x RETURN x')->first()->getAsInt('x'));
148
+
$result = $this->getSession()->writeTransaction(
149
+
staticfn (TransactionInterface$tsx) => $tsx->run('UNWIND [1] AS x RETURN x')->first()->getAsInt('x')
0 commit comments