Another basic test
This commit is contained in:
parent
491eac38ad
commit
604c4ed615
@ -11,3 +11,12 @@ SELECT (admin0_synonym_lookup(Array['United States', 'ESP'])).*;
|
||||
ESP |
|
||||
(2 rows)
|
||||
|
||||
-- Check that the geocoding function is callable, should return success = false
|
||||
SELECT (geocode_admin0_polygons(Array['Spain', 'USA', ''])).*;
|
||||
q | geom | success
|
||||
-------+------+---------
|
||||
| | f
|
||||
Spain | | f
|
||||
USA | | f
|
||||
(3 rows)
|
||||
|
||||
|
@ -6,3 +6,6 @@ CREATE EXTENSION cdb_geocoder_admin0;
|
||||
|
||||
-- Check that the synonym function is callable, should return NULL
|
||||
SELECT (admin0_synonym_lookup(Array['United States', 'ESP'])).*;
|
||||
|
||||
-- Check that the geocoding function is callable, should return success = false
|
||||
SELECT (geocode_admin0_polygons(Array['Spain', 'USA', ''])).*;
|
||||
|
Loading…
Reference in New Issue
Block a user