From a999c6e99c433fb917095fcc996aeab1ce45f435 Mon Sep 17 00:00:00 2001 From: Rafa de la Torre Date: Tue, 19 Apr 2016 14:40:11 +0200 Subject: [PATCH] Some test fixes after merging branches --- .../expected/40_observatory_utility_test.out | 23 ++++++++----------- 1 file changed, 10 insertions(+), 13 deletions(-) diff --git a/src/pg/test/expected/40_observatory_utility_test.out b/src/pg/test/expected/40_observatory_utility_test.out index 10fb18a..d976911 100644 --- a/src/pg/test/expected/40_observatory_utility_test.out +++ b/src/pg/test/expected/40_observatory_utility_test.out @@ -13,16 +13,6 @@ Loading obs_85328201013baa14e8e8a4a57a01e6f6fbc5f9b1.sql fixture file... Done. Loading obs_3e7cc9cfd403b912c57b42d5f9195af9ce2f3cdb.sql fixture file... Done. -Loading obs_column.sql fixture file... -Done. -Loading obs_column_table.sql fixture file... -Done. -Loading obs_column_to_column.sql fixture file... -Done. -Loading obs_85328201013baa14e8e8a4a57a01e6f6fbc5f9b1.sql fixture file... -Done. -Loading obs_3e7cc9cfd403b912c57b42d5f9195af9ce2f3cdb.sql fixture file... -Done. Loading obs_ab038198aaab3f3cb055758638ee4de28ad70146.sql fixture file... Done. Loading obs_a92e1111ad3177676471d66bb8036e6d057f271b.sql fixture file... @@ -31,6 +21,14 @@ Loading obs_11ee8b82c877c073438bc935a91d3dfccef875d1.sql fixture file... Done. Loading obs_d34555209878e8c4b37cf0b2b3d072ff129ec470.sql fixture file... Done. +-- OBS_GeomTable +-- get table with known geometry_id +-- should give back a table like obs_{hex hash} +SELECT + cdb_observatory.OBS_GeomTable( + CDB_LatLng(40.7128,-74.0059), + '"us.census.tiger".census_tract' + ); obs_geomtable ---------------------------------------------- obs_a92e1111ad3177676471d66bb8036e6d057f271b @@ -38,10 +36,10 @@ Done. -- get null for unknown geometry_id -- should give back null -SELECT +SELECT cdb_observatory.OBS_GeomTable( CDB_LatLng(40.7128,-74.0059), - '"us.census.tiger".nonexistant_id' + '"us.census.tiger".nonexistant_id' -- not in catalog ); obs_geomtable --------------- @@ -102,7 +100,6 @@ SELECT SELECT vals[1] As mandarin_orange (1 row) -Dropping obs_table.sql fixture table... \i test/sql/drop_fixtures.sql SET client_min_messages TO NOTICE; \set ECHO none