Skip to content

Commit 2af8f3d

Browse files
author
David Alger
committed
MAGETWO-37589 Email Templates Localization
- updated test for readability
1 parent ca51686 commit 2af8f3d

File tree

1 file changed

+8
-2
lines changed

1 file changed

+8
-2
lines changed

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

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -177,8 +177,14 @@ 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";'
181-
. 's:1:"c";s:3:"dee";}}',
180+
serialize([
181+
'param_1' => 'value_1',
182+
'param_2' => 'lorem',
183+
'param_3' => [
184+
'a' => 'bee',
185+
'c' => 'dee',
186+
],
187+
]),
182188
],
183189
];
184190
}

0 commit comments

Comments
 (0)