File tree Expand file tree Collapse file tree 1 file changed +2
-3
lines changed Expand file tree Collapse file tree 1 file changed +2
-3
lines changed Original file line number Diff line number Diff line change @@ -73,9 +73,8 @@ public function testSecondsTimeout(string $alias): void
7373 public function testTimeoutRecoverAndReset (string $ alias ): void
7474 {
7575 $ socket = $ this ->getConnection ($ alias );
76- /** @var V4 $protocol */
7776 $ protocol = (new Bolt ($ socket ))->build ();
78- $ protocol ->hello (Auth::basic ($ GLOBALS ['NEO_USER ' ], $ GLOBALS ['NEO_PASS ' ]));
77+ $ protocol ->init (Auth::basic ($ GLOBALS ['NEO_USER ' ], $ GLOBALS ['NEO_PASS ' ]));
7978
8079 $ time = microtime (true );
8180 try {
@@ -95,7 +94,7 @@ public function testTimeoutRecoverAndReset(string $alias): void
9594 } catch (MessageException $ e ) {
9695 echo $ e ->getMessage ();
9796 $ protocol = (new Bolt ($ socket ))->build ();
98- $ protocol ->hello (Auth::basic ($ GLOBALS ['NEO_USER ' ], $ GLOBALS ['NEO_PASS ' ]));
97+ $ protocol ->init (Auth::basic ($ GLOBALS ['NEO_USER ' ], $ GLOBALS ['NEO_PASS ' ]));
9998 }
10099
101100 $ socket ->setTimeout (1.0 );
You can’t perform that action at this time.
0 commit comments