File tree Expand file tree Collapse file tree 2 files changed +2
-0
lines changed
Tests/DependencyInjection Expand file tree Collapse file tree 2 files changed +2
-0
lines changed Original file line number Diff line number Diff line change @@ -50,6 +50,7 @@ public function getConfigTreeBuilder()
5050 ->scalarNode ('default_connection ' )->end ()
5151 ->scalarNode ('default_database ' )->defaultValue ('default ' )->end ()
5252 ->arrayNode ('default_commit_options ' )
53+ ->addDefaultsIfNotSet ()
5354 ->children ()
5455 ->booleanNode ('j ' )->end ()
5556 ->scalarNode ('timeout ' )->end ()
Original file line number Diff line number Diff line change @@ -38,6 +38,7 @@ public function testDefaults()
3838 'proxy_namespace ' => 'MongoDBODMProxies ' ,
3939 'hydrator_dir ' => '%kernel.cache_dir%/doctrine/odm/mongodb/Hydrators ' ,
4040 'hydrator_namespace ' => 'Hydrators ' ,
41+ 'default_commit_options ' => array (),
4142 );
4243
4344 $ this ->assertEquals ($ defaults , $ options );
You can’t perform that action at this time.
0 commit comments