Skip to content

Commit d92660d

Browse files
committed
Replace Zend_Json with just a basic json_encode in the configurable product block view test
1 parent e0e9ed0 commit d92660d

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)