X-Git-Url: https://git.openstreetmap.org./nominatim.git/blobdiff_plain/83b4b8d9c1c1051d894560ff0c1b14bd4f4359e5..086116b3a14f84a5d23b33acd5390245aea88d71:/test/php/Nominatim/ParameterParserTest.php?ds=inline 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 +}