Skip to content

Commit 485254b

Browse files
committed
only runs Integration tests
1 parent 8c71e43 commit 485254b

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

.github/workflows/matrix-test.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
name: Unit and Integration Tests
1+
name: Integration Tests
22

33
on:
44
push:
@@ -11,7 +11,7 @@ jobs:
1111
runs-on: ubuntu-latest
1212
env:
1313
NEO4J_CONNECTIONS: bolt://neo4j:test@localhost,http://neo4j:test@localhost
14-
name: "Running test for PHP ${{ matrix.php-version }} on Neo4j ${{ matrix.neo4j-version }} with simple config"
14+
name: "Running Integration tests for PHP ${{ matrix.php-version }} on Neo4j ${{ matrix.neo4j-version }} with simple config"
1515
strategy:
1616
fail-fast: false
1717
matrix:
@@ -44,3 +44,4 @@ jobs:
4444
php_extensions: bcmath
4545
memory_limit: 1024M
4646
bootstrap: vendor/autoload.php
47+
args: --testsuite "Integration"

tests/Integration/BoltDriverIntegrationTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ private function getBoltUri(): UriInterface
4747
*/
4848
public function testValidHostname(): void
4949
{
50-
$results = BoltDriver::create('bolt://neo4j:test@neo4j')->createSession()->run(<<<'CYPHER'
50+
$results = BoltDriver::create($this->uri->__toString())->createSession()->run(<<<'CYPHER'
5151
RETURN 1 AS x
5252
CYPHER);
5353
self::assertEquals(1, $results->first()->get('x'));

0 commit comments

Comments
 (0)