Skip to content

Commit f833104

Browse files
authored
Fixed broken tests (#7)
* Fixed broken tests * Updated travis config * cs * We do not support neo4j-php-client < 4.5 * client 4.6
1 parent ce08cfa commit f833104

File tree

4 files changed

+6
-2
lines changed

4 files changed

+6
-2
lines changed

.travis.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@ env:
1414
global:
1515
- TEST_COMMAND="composer test"
1616
matrix:
17+
- SYMFONY_VERSION=3.2.*
1718
- SYMFONY_VERSION=3.1.*
1819
- SYMFONY_VERSION=3.0.*
1920

@@ -24,7 +25,7 @@ branches:
2425
matrix:
2526
fast_finish: true
2627
include:
27-
- php: 5.5
28+
- php: 7.0
2829
env: COMPOSER_FLAGS="--prefer-stable --prefer-lowest" COVERAGE=true TEST_COMMAND="composer test-ci" SYMFONY_VERSION=3.0.*
2930

3031
install:

Tests/Functional/app/config/default.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,6 @@ imports:
22
- { resource: framework.yml }
33
- { resource: services.yml }
44

5-
graph_aware_neo4j:
5+
community_neo4j:
66
connections:
77
default: ~

Tests/Unit/DependencyInjection/CommunityNeo4jExtensionTest.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,8 @@ class CommunityNeo4jExtensionTest extends AbstractExtensionTestCase
1212
{
1313
protected function getMinimalConfiguration()
1414
{
15+
$this->setParameter('kernel.cache_dir', 'foo');
16+
1517
return ['connections' => ['default' => ['port' => 7474]]];
1618
}
1719

composer.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@
1313
"require": {
1414
"php": "^7.0",
1515
"graphaware/neo4j-php-ogm": "^1.0",
16+
"graphaware/neo4j-php-client": "^4.6",
1617
"symfony/framework-bundle": "^3.0"
1718
},
1819
"require-dev": {

0 commit comments

Comments
 (0)