diff --git a/app/code/Magento/ConfigurableProduct/Test/Unit/Block/Product/View/Type/ConfigurableTest.php b/app/code/Magento/ConfigurableProduct/Test/Unit/Block/Product/View/Type/ConfigurableTest.php index 37c1659f55870..05d34a4661003 100644 --- a/app/code/Magento/ConfigurableProduct/Test/Unit/Block/Product/View/Type/ConfigurableTest.php +++ b/app/code/Magento/ConfigurableProduct/Test/Unit/Block/Product/View/Type/ConfigurableTest.php @@ -200,7 +200,7 @@ public function testGetJsonConfig() ]); $expectedArray = $this->getExpectedArray($productId, $amount, $priceQty, $percentage); - $expectedJson = \Zend_Json::encode($expectedArray); + $expectedJson = json_encode($expectedArray); $this->jsonEncoder->expects($this->once()) ->method('encode')