File tree Expand file tree Collapse file tree 2 files changed +5
-2
lines changed
Elasticsearch6/Test/Unit/Model/Client
Elasticsearch/Model/Config/Backend Expand file tree Collapse file tree 2 files changed +5
-2
lines changed Original file line number Diff line number Diff line change @@ -34,7 +34,10 @@ public function validateValue(): void
34
34
{
35
35
if (strlen ($ this ->getValue ()) && !preg_match ('/^((\d+<)?-?\d+%?\s?)+$/ ' , $ this ->getValue ())) {
36
36
throw new LocalizedException (
37
- __ ('Value for the field "%1" was not saved because of the incorrect format. ' , __ ('Minimum Terms to Match ' ))
37
+ __ (
38
+ 'Value for the field "%1" was not saved because of the incorrect format. ' ,
39
+ __ ('Minimum Terms to Match ' )
40
+ )
38
41
);
39
42
}
40
43
}
Original file line number Diff line number Diff line change 12
12
use Magento \Elasticsearch6 \Model \Client \Elasticsearch ;
13
13
14
14
/**
15
- * Class ElasticsearchTest
15
+ * Test elasticsearch client methods
16
16
*/
17
17
class ElasticsearchTest extends \PHPUnit \Framework \TestCase
18
18
{
You can’t perform that action at this time.
0 commit comments