@@ -105,7 +105,7 @@ public function testGetNextBunch($entityType, $bunchData, $expectedData)
105
105
->getMock ();
106
106
$ jsonDecoderMock ->expects ($ this ->once ())
107
107
->method ('decode ' )
108
- ->willReturn (\Zend_Json:: decode ($ bunchData ));
108
+ ->willReturn (json_decode ($ bunchData, true ));
109
109
$ jsonHelper = $ helper ->getObject (
110
110
\Magento \Framework \Json \Helper \Data::class,
111
111
[
@@ -140,7 +140,7 @@ public function getNextBunchDataProvider()
140
140
return [
141
141
'address entity ' => [
142
142
'$entityType ' => CustomerComposite::COMPONENT_ENTITY_ADDRESS ,
143
- '$bunchData ' => \Zend_Json:: encode (
143
+ '$bunchData ' => json_encode (
144
144
[
145
145
[
146
146
'_scope ' => CustomerComposite::SCOPE_DEFAULT ,
@@ -170,7 +170,7 @@ public function getNextBunchDataProvider()
170
170
],
171
171
'customer entity default scope ' => [
172
172
'$entityType ' => CustomerComposite::COMPONENT_ENTITY_CUSTOMER ,
173
- '$bunchData ' => \Zend_Json:: encode (
173
+ '$bunchData ' => json_encode (
174
174
[
175
175
[
176
176
'_scope ' => CustomerComposite::SCOPE_DEFAULT ,
@@ -202,7 +202,7 @@ public function getNextBunchDataProvider()
202
202
],
203
203
'customer entity address scope ' => [
204
204
'$entityType ' => CustomerComposite::COMPONENT_ENTITY_CUSTOMER ,
205
- '$bunchData ' => \Zend_Json:: encode (
205
+ '$bunchData ' => json_encode (
206
206
[
207
207
[
208
208
'_scope ' => CustomerComposite::SCOPE_ADDRESS ,
0 commit comments