Skip to content

Commit 83a2292

Browse files
Joan HeIgor Melnikov
authored andcommitted
MAGETWO-67164: Syntax Errors in Widget encode/decode
1 parent 3c3d3f2 commit 83a2292

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

dev/tests/integration/testsuite/Magento/Widget/Model/Widget/Wysiwyg/NormalizerTest.php

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,10 @@ public function testRestoreReservedCharacters()
3535

3636
public function testReplaceAndRestoreReservedCharacters()
3737
{
38-
$value = '{"1":{"type":"Magento\\CatalogWidget\\Model\\Rule\\Condition\\Combine","aggregator":"all","value":"1","new_child":""},"1--1":{"type":"Magento\\CatalogWidget\\Model\\Rule\\Condition\\Product","attribute":"pattern","operator":"{}","value":["212,213"]}}';
38+
$value = '{"1":{"type":"Magento\\CatalogWidget\\Model\\Rule\\Condition\\Combine",'
39+
. '"aggregator":"all","value":"1","new_child":""},"1--1":{"type":'
40+
. '"Magento\\CatalogWidget\\Model\\Rule\\Condition\\Product","attribute":"pattern",'
41+
. '"operator":"{}","value":["212,213"]}}';
3942
$this->assertEquals(
4043
$value,
4144
$this->normalizer->restoreReservedCharacters(

0 commit comments

Comments
 (0)