From a885f5328e1f02706242853e92f59110d3535828 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Juan=20Ignacio=20S=C3=A1nchez=20Lara?= Date: Thu, 20 Aug 2015 10:45:24 +0200 Subject: [PATCH] Fix conf tests (json values) --- test/organization/test.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/organization/test.sh b/test/organization/test.sh index 4277e6d..56a5b0d 100644 --- a/test/organization/test.sh +++ b/test/organization/test.sh @@ -531,9 +531,9 @@ function test_conf() { sql postgres "SELECT cartodb.CDB_Conf_GetConf('test_conf')" should '' sql postgres "SELECT cartodb.CDB_Conf_GetConf('test_conf_2')" should '' - sql postgres "SELECT cartodb.CDB_Conf_SetConf('test_conf', 'test_val')" + sql postgres "SELECT cartodb.CDB_Conf_SetConf('test_conf', '{ \"a_key\": \"test_val\" }')" - sql postgres "SELECT cartodb.CDB_Conf_GetConf('test_conf')" should 'test_val' + sql postgres "SELECT cartodb.CDB_Conf_GetConf('test_conf')" should '{ "a_key": "test_val" }' sql postgres "SELECT cartodb.CDB_Conf_GetConf('test_conf_2')" should '' sql postgres "SELECT cartodb.CDB_Conf_RemoveConf('test_conf')"