Deleted unused test for config tables

This commit is contained in:
Mario de Frutos
2015-11-23 12:53:46 +01:00
parent 3b20d83827
commit fa1d7af410
2 changed files with 0 additions and 29 deletions

View File

@@ -1,21 +0,0 @@
-- Create a conf table
SELECT cartodb.cdb_conf_setconf('cds', '{"Manolo Escobar": {"El Limonero":"En stock", "Viva el vino":"Sin stock"}}');
cdb_conf_setconf
------------------
(1 row)
-- Test key retrieval
SELECT cartodb.cdb_conf_getconf('cds');
cdb_conf_getconf
----------------------------------------------------------------------------
{"Manolo Escobar": {"El Limonero":"En stock", "Viva el vino":"Sin stock"}}
(1 row)
-- Test returns NULL if key doesn't exist
SELECT cartodb.cdb_conf_getconf('no existe');
cdb_conf_getconf
------------------
(1 row)

View File

@@ -1,8 +0,0 @@
-- Create a conf table
SELECT cartodb.cdb_conf_setconf('cds', '{"Manolo Escobar": {"El Limonero":"En stock", "Viva el vino":"Sin stock"}}');
-- Test key retrieval
SELECT cartodb.cdb_conf_getconf('cds');
-- Test returns NULL if key doesn't exist
SELECT cartodb.cdb_conf_getconf('no existe');