diff --git a/src/pg/test/fixtures/obs_table.sql b/src/pg/test/fixtures/obs_table.sql index 6092f93..012dbf4 100644 --- a/src/pg/test/fixtures/obs_table.sql +++ b/src/pg/test/fixtures/obs_table.sql @@ -2,7 +2,7 @@ CREATE TABLE obs_table(cartodb_id bigint, the_geom geometry, the_geom_webmercato -- Commented out until somebody actually adds that fixture ---INSERT INTO obs_table (cartodb_id, the_geom, the_geom_webmercator, id, tablename, timespan, bounds, description, version) VALUES (1, NULL, NULL, '"us.census.spielman_singleton_segments".spielman_singleton_table_99914b932b', 'obs_65f29658e096ca1485bf683f65fdbc9f05ec3c5d', '2009 - 2013', 'BOX(0 0,0 0)', NULL, 5); +INSERT INTO obs_table (cartodb_id, the_geom, the_geom_webmercator, id, tablename, timespan, bounds, description, version) VALUES (1, NULL, NULL, '"us.census.spielman_singleton_segments".spielman_singleton_table_99914b932b', 'obs_65f29658e096ca1485bf683f65fdbc9f05ec3c5d', '2009 - 2013', 'BOX(0 0,0 0)', NULL, 5); INSERT INTO obs_table (cartodb_id, the_geom, the_geom_webmercator, id, tablename, timespan, bounds, description, version) VALUES (2, NULL, NULL, '"us.census.acs".extract_block_group_5yr_2013_69b156927c', 'obs_3e7cc9cfd403b912c57b42d5f9195af9ce2f3cdb', '2009 - 2013', 'BOX(-179.231086 -14.601813,179.859681 71.441059)', NULL, 1); INSERT INTO obs_table (cartodb_id, the_geom, the_geom_webmercator, id, tablename, timespan, bounds, description, version) VALUES (3, NULL, NULL, '"us.census.tiger".sum_level_false_block_group_2013_5c764f39d2', 'obs_85328201013baa14e8e8a4a57a01e6f6fbc5f9b1', '2013', 'BOX(-179.231086 -14.601813,179.859681 71.441059)', NULL, 4); diff --git a/src/pg/test/sql/41_observatory_augmentation_test.sql b/src/pg/test/sql/41_observatory_augmentation_test.sql index 88731b9..b630b9b 100644 --- a/src/pg/test/sql/41_observatory_augmentation_test.sql +++ b/src/pg/test/sql/41_observatory_augmentation_test.sql @@ -3,7 +3,7 @@ WITH result as( Select count(coalesce(OBS_GetDemographicSnapshot->>'value', 'foo')) expected_columns FROM cdb_observatory.OBS_GetDemographicSnapshot(cdb_observatory._TestPoint()) -) select expected_columns ='59' as OBS_GetDemographicSnapshot_test_no_returns +) select expected_columns ='58' as OBS_GetDemographicSnapshot_test_no_returns FROM result; -- -- dimension | dimension_value