We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 706abb0 commit 53d10edCopy full SHA for 53d10ed
app/code/Magento/Customer/Test/Unit/Model/Metadata/Form/MultilineTest.php
@@ -94,4 +94,28 @@ public function validateValueLengthDataProvider()
94
]
95
);
96
}
97
+
98
+ /**
99
+ * @param array $value value to pass to compactValue()
100
+ * @param string $expected expected output
101
+ *
102
+ * @dataProvider compactValueDataProvider
103
+ */
104
+ public function testCompactValue($value, $expected)
105
+ {
106
+ $this->assertSame($expected, $this->getClass("line")->compactValue($value));
107
+ }
108
109
110
+ * @return array
111
112
+ public function compactValueDataProvider()
113
114
+ return [
115
+ [
116
+ ["b"=>"element1", "a"=>"element2"],
117
+ ["element2\nelement1"],
118
+ ]
119
+ ];
120
121
0 commit comments