File tree Expand file tree Collapse file tree 3 files changed +7
-4
lines changed Expand file tree Collapse file tree 3 files changed +7
-4
lines changed Original file line number Diff line number Diff line change @@ -25,6 +25,8 @@ branches:
2525matrix :
2626 fast_finish : true
2727 include :
28+ - php : 7.0
29+ env : SYMFONY_VERSION="3.2.* graphaware/neo4j-php-ogm:^1.0"
2830 - php : 7.0
2931 env : COMPOSER_FLAGS="--prefer-stable --prefer-lowest" COVERAGE=true TEST_COMMAND="composer test-ci" SYMFONY_VERSION=3.0.*
3032
Original file line number Diff line number Diff line change @@ -23,8 +23,10 @@ public function testRegisterBundle()
2323 $ client = $ container ->get ('neo4j.client ' );
2424 $ this ->assertInstanceOf (ClientInterface::class, $ client );
2525
26- $ this ->assertTrue ($ container ->has ('neo4j.entity_manager ' ));
27- $ client = $ container ->get ('neo4j.entity_manager ' );
28- $ this ->assertInstanceOf (EntityManager::class, $ client );
26+ if (class_exists ('GraphAware\Neo4j\OGM\EntityManager ' )) {
27+ $ this ->assertTrue ($ container ->has ('neo4j.entity_manager ' ));
28+ $ client = $ container ->get ('neo4j.entity_manager ' );
29+ $ this ->assertInstanceOf (EntityManager::class, $ client );
30+ }
2931 }
3032}
Original file line number Diff line number Diff line change 2323 "require-dev" : {
2424 "phpunit/phpunit" : " ^5.4" ,
2525 "symfony/symfony" : " ^3.0" ,
26- "graphaware/neo4j-php-ogm" : " ^1.0" ,
2726 "matthiasnoback/symfony-dependency-injection-test" : " ^1.0"
2827 },
2928 "suggest" : {
You can’t perform that action at this time.
0 commit comments