@@ -31,64 +31,25 @@ public static function loadGetSynonymsForPhraseDataProvider()
31
31
{
32
32
return [
33
33
'WithSynonymsFromStoreViewScope ' => [
34
- 'phrase ' => 'Elizabeth is the English queen. ' ,
34
+ 'phrase ' => 'elizabeth is the english queen ' ,
35
35
'expectedResult ' => [['elizabeth ' ],['is ' ],['the ' ],['british ' , 'english ' ],['queen ' , 'monarch ' ]]
36
36
],
37
37
'WithSynonymsFromWebsiteScope ' => [
38
- 'phrase ' => 'Orange hill ' ,
38
+ 'phrase ' => 'orange hill ' ,
39
39
'expectedResult ' => [['orange ' , 'magento ' ], ['hill ' , 'mountain ' , 'peak ' ]]
40
40
],
41
41
'WithSynonymsFromDefaultScope ' => [
42
- 'phrase ' => 'universe is enormous. ' ,
42
+ 'phrase ' => 'universe is enormous ' ,
43
43
'expectedResult ' => [['universe ' , 'cosmos ' ], ['is ' ], ['big ' , 'huge ' , 'large ' , 'enormous ' ]]
44
44
],
45
45
'noSynonyms ' => [
46
- 'phrase ' => 'This sentence has no synonyms ' ,
46
+ 'phrase ' => 'this sentence has no synonyms ' ,
47
47
'expectedResult ' => [['this ' ], ['sentence ' ], ['has ' ], ['no ' ], ['synonyms ' ]]
48
48
],
49
- 'specialCharacters ' => [
50
- 'phrase ' => '~tilde`backtic! exclamation@ at#hash\$dollar%percent^carat&ersand*star(leftparan '
51
- . ')rightparan_underscore+plus=equal{leftcurly}rightcurly[leftbracket]rightbracket:colon '
52
- . '"doublequote \'singlequote,comma space.period<leftangle>rightangle?questionmark \\backslash '
53
- . '/forwardslash tab;semicolon ' ,
54
- 'expectedResult ' => [
55
- ['tilde ' ],
56
- ['backtic ' ],
57
- ['exclamation ' ],
58
- ['at ' ],
59
- ['hash ' ],
60
- ['dollar ' ],
61
- ['percent ' ],
62
- ['carat ' ],
63
- ['ampersand ' ],
64
- ['star ' ],
65
- ['leftparan ' ],
66
- ['rightparan ' ],
67
- ['underscore ' ],
68
- ['plus ' ],
69
- ['equal ' ],
70
- ['leftcurly ' ],
71
- ['rightcurly ' ],
72
- ['leftbracket ' ],
73
- ['rightbracket ' ],
74
- ['colon ' ],
75
- ['doublequote ' ],
76
- ['singlequote ' ],
77
- ['comma ' ],
78
- ['space ' ],
79
- ['period ' ],
80
- ['leftangle ' ],
81
- ['rightangle ' ],
82
- ['questionmark ' ],
83
- ['backslash ' ],
84
- ['forwardslash ' ],
85
- ['tab ' ],
86
- ['semicolon ' ]
87
- ]
88
- ],
89
49
'oneMoreTest ' => [
90
50
'phrase ' => 'schlicht ' ,
91
- 'expectedResult ' => [['schlicht ' , 'natürlich ' ]]]
51
+ 'expectedResult ' => [['schlicht ' , 'natürlich ' ]]
52
+ ],
92
53
];
93
54
}
94
55
0 commit comments