X-Git-Url: https://git.openstreetmap.org./nominatim.git/blobdiff_plain/83b4b8d9c1c1051d894560ff0c1b14bd4f4359e5..558c42ec83a5a01e238af2fa4faa6a992af3f77a:/test/php/Nominatim/ParameterParserTest.php?ds=sidebyside diff --git a/test/php/Nominatim/ParameterParserTest.php b/test/php/Nominatim/ParameterParserTest.php index 111ce4a3..82716d4d 100644 --- a/test/php/Nominatim/ParameterParserTest.php +++ b/test/php/Nominatim/ParameterParserTest.php @@ -148,7 +148,7 @@ class ParameterParserTest extends \PHPUnit\Framework\TestCase $this->assertSame('foo', $oParams->getSet('val1', array('foo', 'bar'))); $this->assertSame(false, $oParams->getSet('val2', array('foo', 'bar'))); - $this->assertSame(0, $oParams->getSet('val3', array('foo', 'bar'))); + $this->assertSame(false, $oParams->getSet('val3', array('foo', 'bar'))); } @@ -245,4 +245,4 @@ class ParameterParserTest extends \PHPUnit\Framework\TestCase $this->assertTrue($oParams->hasSetAny(array('four'))); $this->assertTrue($oParams->hasSetAny(array('five'))); } -} \ No newline at end of file +}