X-Git-Url: https://git.openstreetmap.org./nominatim.git/blobdiff_plain/38a99856c0ce34c47fa96a05720a3a77fc0fe092..b9171dd10b39fe66a2bd912fe77104f7565fdbe7:/test/php/Nominatim/PhraseTest.php?ds=sidebyside diff --git a/test/php/Nominatim/PhraseTest.php b/test/php/Nominatim/PhraseTest.php index c23d6483..ab031bb0 100644 --- a/test/php/Nominatim/PhraseTest.php +++ b/test/php/Nominatim/PhraseTest.php @@ -113,9 +113,9 @@ class PhraseTest extends \PHPUnit\Framework\TestCase $oPhrase = new Phrase(join(' ', array_fill(0, 18, 'a')), ''); $oPhrase->computeWordSets(new TokensFullSet()); - $this->assertEquals(Phrase::MAX_WORDSETS, count($oPhrase->getWordSets())); + $this->assertEquals(100, count($oPhrase->getWordSets())); $oPhrase->invertWordSets(); - $this->assertEquals(Phrase::MAX_WORDSETS, count($oPhrase->getWordSets())); + $this->assertEquals(100, count($oPhrase->getWordSets())); }