diff --git a/test/CDB_CartodbfyTableTest.sql b/test/CDB_CartodbfyTableTest.sql index 42a23cf..dc4bab7 100644 --- a/test/CDB_CartodbfyTableTest.sql +++ b/test/CDB_CartodbfyTableTest.sql @@ -281,7 +281,7 @@ INSERT INTO many_colliding_columns VALUES ( SELECT CDB_CartodbfyTableCheck('many_colliding_columns', 'Many colliding columns #141'); DROP TABLE many_colliding_columns; --- table with null cartodb_id +-- Table with null cartodb_id CREATE TABLE test ( cartodb_id integer ); @@ -290,11 +290,11 @@ INSERT INTO test VALUES (2), (NULL), (3); -SELECT CDB_CartodbfyTable('test'); +SELECT CDB_CartodbfyTableCheck('test', 'Table with null cartodb_id #148'); SELECT cartodb_id, cartodb_id_1 from test; DROP TABLE test; --- table with non unique cartodb_id +-- Table with non unique cartodb_id CREATE TABLE test ( cartodb_id integer ); @@ -302,11 +302,11 @@ INSERT INTO test VALUES (1), (2), (2); -SELECT CDB_CartodbfyTable('test'); +SELECT CDB_CartodbfyTableCheck('test', 'Table with non unique cartodb_id #148'); SELECT cartodb_id, cartodb_id_1 from test; DROP TABLE test; --- table with non unique and null cartodb_id +-- Table with non unique and null cartodb_id CREATE TABLE test ( cartodb_id integer ); @@ -315,7 +315,7 @@ INSERT INTO test VALUES (2), (NULL), (2); -SELECT CDB_CartodbfyTable('test'); +SELECT CDB_CartodbfyTableCheck('test', 'Table with non unique and null cartodb_id #148'); SELECT cartodb_id, cartodb_id_1 from test; DROP TABLE test; diff --git a/test/CDB_CartodbfyTableTest_expect b/test/CDB_CartodbfyTableTest_expect index ab6c8e9..6103dc8 100644 --- a/test/CDB_CartodbfyTableTest_expect +++ b/test/CDB_CartodbfyTableTest_expect @@ -81,7 +81,7 @@ Many colliding columns #141 cartodbfied fine DROP TABLE CREATE TABLE INSERT 0 4 -test +Table with null cartodb_id #148 cartodbfied fine 1|1 2|2 3| @@ -89,14 +89,14 @@ test DROP TABLE CREATE TABLE INSERT 0 3 -test +Table with non unique cartodb_id #148 cartodbfied fine 1|1 2|2 3|2 DROP TABLE CREATE TABLE INSERT 0 4 -test +Table with non unique and null cartodb_id #148 cartodbfied fine 1|1 2|2 3|