Skip to content

Commit f5a1062

Browse files
committed
updated test code
1 parent 74430cf commit f5a1062

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

tests/Unit/Neo4jQueryAPIUnitTest.php

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
namespace Neo4j\QueryAPI\Tests\Unit;
44

55
use GuzzleHttp\Client;
6+
use GuzzleHttp\Exception\GuzzleException;
67
use GuzzleHttp\Handler\MockHandler;
78
use GuzzleHttp\HandlerStack;
89
use GuzzleHttp\Psr7\Response;
@@ -39,6 +40,9 @@ public function testCorrectClientSetup(): void
3940
$this->assertEquals('application/json', $config['headers']['Content-Type']);
4041
}
4142

43+
/**
44+
* @throws GuzzleException
45+
*/
4246
public function testRunSuccess(): void
4347
{
4448

@@ -56,7 +60,7 @@ public function testRunSuccess(): void
5660

5761
$result = $neo4jQueryAPI->run($cypherQuery, []);
5862

59-
print_r($result);
63+
// print_r($result);
6064

6165
$this->assertEquals(['hello' => 'world'], $result);
6266
}

0 commit comments

Comments
 (0)