@@ -76,7 +76,7 @@ public function testNotPrependWhenNull()
76
76
public function testNotPrependSerializerWhenConfigExist ()
77
77
{
78
78
$ containerBuilderProphecy = $ this ->prophesize (ContainerBuilder::class);
79
- $ containerBuilderProphecy ->getExtensionConfig ('framework ' )->willReturn (['serializer ' => ['enabled ' => false ]])->shouldBeCalled ();
79
+ $ containerBuilderProphecy ->getExtensionConfig ('framework ' )->willReturn ([0 => [ 'serializer ' => ['enabled ' => false ] ]])->shouldBeCalled ();
80
80
$ containerBuilderProphecy ->prependExtensionConfig ('framework ' , Argument::any ())->willReturn (null )->shouldBeCalled ();
81
81
$ containerBuilderProphecy ->prependExtensionConfig ('framework ' , Argument::that (function (array $ config ) {
82
82
return array_key_exists ('serializer ' , $ config );
@@ -89,7 +89,7 @@ public function testNotPrependSerializerWhenConfigExist()
89
89
public function testNotPrependPropertyInfoWhenConfigExist ()
90
90
{
91
91
$ containerBuilderProphecy = $ this ->prophesize (ContainerBuilder::class);
92
- $ containerBuilderProphecy ->getExtensionConfig ('framework ' )->willReturn (['property_info ' => ['enabled ' => false ]])->shouldBeCalled ();
92
+ $ containerBuilderProphecy ->getExtensionConfig ('framework ' )->willReturn ([0 => [ 'property_info ' => ['enabled ' => false ] ]])->shouldBeCalled ();
93
93
$ containerBuilderProphecy ->prependExtensionConfig ('framework ' , Argument::any ())->willReturn (null )->shouldBeCalled ();
94
94
$ containerBuilderProphecy ->prependExtensionConfig ('framework ' , Argument::that (function (array $ config ) {
95
95
return array_key_exists ('property_info ' , $ config );
@@ -112,7 +112,7 @@ public function testPrependWhenNotConfigured()
112
112
public function testPrependWhenNotEnabled ()
113
113
{
114
114
$ containerBuilderProphecy = $ this ->prophesize (ContainerBuilder::class);
115
- $ containerBuilderProphecy ->getExtensionConfig ('framework ' )->willReturn (['serializer ' => []])->shouldBeCalled ();
115
+ $ containerBuilderProphecy ->getExtensionConfig ('framework ' )->willReturn ([0 => [ 'serializer ' => [] ]])->shouldBeCalled ();
116
116
$ containerBuilderProphecy ->prependExtensionConfig ('framework ' , Argument::type ('array ' ))->shouldBeCalled ();
117
117
$ containerBuilder = $ containerBuilderProphecy ->reveal ();
118
118
0 commit comments