Skip to content

Commit c4b9e21

Browse files
MAGETWO-69451: Replace Zend_Json in the configurable product block test #9753
2 parents b48d29d + 58c94e4 commit c4b9e21

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

app/code/Magento/ConfigurableProduct/Test/Unit/Block/Product/View/Type/ConfigurableTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -200,7 +200,7 @@ public function testGetJsonConfig()
200200
]);
201201

202202
$expectedArray = $this->getExpectedArray($productId, $amount, $priceQty, $percentage);
203-
$expectedJson = \Zend_Json::encode($expectedArray);
203+
$expectedJson = json_encode($expectedArray);
204204

205205
$this->jsonEncoder->expects($this->once())
206206
->method('encode')

0 commit comments

Comments
 (0)