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)
418418 }
419419
420420 /**
421+ * Return filter factory.
422+ *
421423 * @return \Magento\Email\Model\Template\FilterFactory
422424 */
423425 protected function getFilterFactory ()
Original file line number Diff line number Diff line change @@ -703,8 +703,8 @@ public function testGetVariablesOptionArrayInGroup()
703703 $ testTemplateVariables = '{"var data.name":"Sender Name","var data.email":"Sender Email"} ' ;
704704 $ this ->model ->setOrigTemplateVariables ($ testTemplateVariables );
705705 $ 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 ' ]);
708708 }
709709
710710 /**
You can’t perform that action at this time.
0 commit comments