mirror of
https://github.com/osm-search/Nominatim.git
synced 2026-02-14 10:27:57 +00:00
ParameterParser: getSet default value doesnt have to be part of the set
This commit is contained in:
@@ -128,7 +128,6 @@ class ParameterParserTest extends \PHPUnit_Framework_TestCase
|
||||
]);
|
||||
|
||||
$this->assertSame(false, $oParams->getSet('non-exists', ['foo', 'bar']));
|
||||
// FIXME: unclear if the default value has to be part of the set
|
||||
$this->assertSame('default', $oParams->getSet('non-exists', ['foo', 'bar'], 'default'));
|
||||
$this->assertSame('foo', $oParams->getSet('val1', ['foo', 'bar']));
|
||||
|
||||
|
||||
Reference in New Issue
Block a user