File tree Expand file tree Collapse file tree 2 files changed +4
-2
lines changed
app/code/Magento/Email/Model
dev/tests/integration/testsuite/Magento/Email/Model Expand file tree Collapse file tree 2 files changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -418,6 +418,8 @@ public function setOptions(array $options)
418
418
}
419
419
420
420
/**
421
+ * Return filter factory.
422
+ *
421
423
* @return \Magento\Email\Model\Template\FilterFactory
422
424
*/
423
425
protected function getFilterFactory ()
Original file line number Diff line number Diff line change @@ -703,8 +703,8 @@ public function testGetVariablesOptionArrayInGroup()
703
703
$ testTemplateVariables = '{"var data.name":"Sender Name","var data.email":"Sender Email"} ' ;
704
704
$ this ->model ->setOrigTemplateVariables ($ testTemplateVariables );
705
705
$ variablesOptionArray = $ this ->model ->getVariablesOptionArray (true );
706
- $ this ->assertEquals ('Template Variables ' , $ variablesOptionArray ['label ' ]->getText ());
707
- $ this ->assertEquals ($ this ->model ->getVariablesOptionArray (), $ variablesOptionArray ['value ' ]);
706
+ $ this ->assertEquals ('Template Variables ' , $ variablesOptionArray [0 ][ 'label ' ]->getText ());
707
+ $ this ->assertEquals ($ this ->model ->getVariablesOptionArray (), $ variablesOptionArray [0 ][ 'value ' ]);
708
708
}
709
709
710
710
/**
You can’t perform that action at this time.
0 commit comments