Skip to content

Commit ccec05a

Browse files
committed
Modify unit test to cover for buggy use case
1 parent ce1263d commit ccec05a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

app/code/Magento/Search/Test/Unit/Model/SynonymAnalyzerTest.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -49,9 +49,9 @@ protected function setUp(): void
4949
*/
5050
public function testGetSynonymsForPhrase()
5151
{
52-
$phrase = 'Elizabeth is the british queen';
52+
$phrase = 'Elizabeth/Angela is the british queen';
5353
$expected = [
54-
0 => [ 0 => "Elizabeth" ],
54+
0 => [ 0 => "Elizabeth/Angela" ],
5555
1 => [ 0 => "is" ],
5656
2 => [ 0 => "the" ],
5757
3 => [ 0 => "british", 1 => "english" ],

0 commit comments

Comments
 (0)