Skip to content

Commit

Permalink
Modify unit test to cover for buggy use case
Browse files Browse the repository at this point in the history
  • Loading branch information
wojtekn committed Oct 2, 2020
1 parent ce1263d commit ccec05a
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -49,9 +49,9 @@ protected function setUp(): void
*/
public function testGetSynonymsForPhrase()
{
$phrase = 'Elizabeth is the british queen';
$phrase = 'Elizabeth/Angela is the british queen';
$expected = [
0 => [ 0 => "Elizabeth" ],
0 => [ 0 => "Elizabeth/Angela" ],
1 => [ 0 => "is" ],
2 => [ 0 => "the" ],
3 => [ 0 => "british", 1 => "english" ],
Expand Down

0 comments on commit ccec05a

Please sign in to comment.