Skip to content

Commit f3bc459

Browse files
committed
fixed bugs on version 4.4
1 parent 4a6be71 commit f3bc459

File tree

4 files changed

+4
-9
lines changed

4 files changed

+4
-9
lines changed

Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ COPY composer.json ./
1919

2020
RUN composer install
2121

22-
COPY phpunit.xml.dist phpunit.coverage.xml.dist psalm.xml .php-cs-fixer.php LICENSE README.md ./
22+
COPY phpunit.xml.dist phpunit.coverage.xml.dist psalm.xml .php-cs-fixer.dist.php LICENSE README.md ./
2323
COPY src/ src/
2424
COPY tests/ tests/
2525
COPY .git/ .git/

docker-compose-neo4j-4.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,7 @@ services:
3232
build:
3333
context: .
3434
dockerfile: Dockerfile
35+
image: arestravel/php-8.0
3536
working_dir: /opt/project
3637
networks:
3738
- neo4j

tests/Integration/BoltDriverIntegrationTest.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@
1717
use Exception;
1818
use Laudis\Neo4j\Bolt\BoltDriver;
1919
use Laudis\Neo4j\Databags\SummarizedResult;
20+
use Laudis\Neo4j\Neo4j\Neo4jDriver;
2021

2122
final class BoltDriverIntegrationTest extends EnvironmentAwareIntegrationTest
2223
{
@@ -71,7 +72,7 @@ public function testInvalidSocket(): void
7172

7273
public function testBookmarkUpdates(): void
7374
{
74-
$session = BoltDriver::create($this->getUri(['bolt', 'neo4j'])->__toString())->createSession();
75+
$session = Neo4jDriver::create($this->getUri(['bolt', 'neo4j'])->__toString())->createSession();
7576
$bookmark = $session->getLastBookmark();
7677
$this->assertEquals([], $bookmark->values());
7778
$this->assertTrue($bookmark->isEmpty());

tests/Integration/ComplexQueryTest.php

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -281,13 +281,6 @@ public function testTimeout(): void
281281
}
282282
}
283283

284-
public function testTimeoutRecovery(): void
285-
{
286-
$this->expectNotToPerformAssertions();
287-
$tsx = $this->getSession(['bolt', 'neo4j'])->beginTransaction([], TransactionConfiguration::default()->withTimeout(2));
288-
$tsx->run('CALL apoc.util.sleep(20000)');
289-
}
290-
291284
public function testConstraintHandling(): void
292285
{
293286
$session = $this->getSession();

0 commit comments

Comments
 (0)