]> git.openstreetmap.org Git - nominatim.git/blobdiff - test/php/Nominatim/ParameterParserTest.php
add tests for new importance CSV import
[nominatim.git] / test / php / Nominatim / ParameterParserTest.php
index 111ce4a366a5a0c80091aef282a438c851a962e8..82716d4de98d68ed29826621759c9d379d1701c4 100644 (file)
@@ -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('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')));
     }
         $this->assertTrue($oParams->hasSetAny(array('four')));
         $this->assertTrue($oParams->hasSetAny(array('five')));
     }
-}
\ No newline at end of file
+}