File tree 3 files changed +7
-4
lines changed
3 files changed +7
-4
lines changed Original file line number Diff line number Diff line change @@ -25,6 +25,8 @@ branches:
25
25
matrix :
26
26
fast_finish : true
27
27
include :
28
+ - php : 7.0
29
+ env : SYMFONY_VERSION="3.2.* graphaware/neo4j-php-ogm:^1.0"
28
30
- php : 7.0
29
31
env : COMPOSER_FLAGS="--prefer-stable --prefer-lowest" COVERAGE=true TEST_COMMAND="composer test-ci" SYMFONY_VERSION=3.0.*
30
32
Original file line number Diff line number Diff line change @@ -23,8 +23,10 @@ public function testRegisterBundle()
23
23
$ client = $ container ->get ('neo4j.client ' );
24
24
$ this ->assertInstanceOf (ClientInterface::class, $ client );
25
25
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
+ }
29
31
}
30
32
}
Original file line number Diff line number Diff line change 23
23
"require-dev" : {
24
24
"phpunit/phpunit" : " ^5.4" ,
25
25
"symfony/symfony" : " ^3.0" ,
26
- "graphaware/neo4j-php-ogm" : " ^1.0" ,
27
26
"matthiasnoback/symfony-dependency-injection-test" : " ^1.0"
28
27
},
29
28
"suggest" : {
You can’t perform that action at this time.
0 commit comments