Skip to content

Commit ca51686

Browse files
author
David Alger
committed
MAGETWO-37589 Email Templates Localization
- copied fix to proper branch
1 parent 5974ad6 commit ca51686

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

lib/internal/Magento/Framework/Filter/Test/Unit/TemplateTest.php

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -149,7 +149,7 @@ public function varDirectiveDataProvider()
149149

150150
$stub->expects($this->once())
151151
->method('bar')
152-
->will($this->returnCallback(function($arg) {
152+
->will($this->returnCallback(function ($arg) {
153153
return serialize($arg);
154154
}));
155155

@@ -177,7 +177,8 @@ public function varDirectiveDataProvider()
177177
'b' => 'bee',
178178
'd' => 'dee',
179179
],
180-
'a:3:{s:7:"param_1";s:7:"value_1";s:7:"param_2";s:5:"lorem";s:7:"param_3";a:2:{s:1:"a";s:3:"bee";s:1:"c";s:3:"dee";}}',
180+
'a:3:{s:7:"param_1";s:7:"value_1";s:7:"param_2";s:5:"lorem";s:7:"param_3";a:2:{s:1:"a";s:3:"bee";'
181+
. 's:1:"c";s:3:"dee";}}',
181182
],
182183
];
183184
}

0 commit comments

Comments
 (0)