Add quota trigger to tests

This commit is contained in:
Rafa de la Torre 2015-12-02 17:31:29 +01:00
parent 90e9e4247a
commit 6c25a75284
2 changed files with 10 additions and 0 deletions

View File

@ -3,6 +3,13 @@ CREATE EXTENSION postgis;
CREATE EXTENSION schema_triggers;
CREATE EXTENSION plpythonu;
CREATE EXTENSION cartodb;
-- Mock the quota check
SELECT cartodb.CDB_SetUserQuotaInBytes(0);
cdb_setuserquotainbytes
-------------------------
0
(1 row)
-- Install the extension
CREATE EXTENSION cdb_geocoder;
-- Mock the varnish invalidation function

View File

@ -4,6 +4,9 @@ CREATE EXTENSION schema_triggers;
CREATE EXTENSION plpythonu;
CREATE EXTENSION cartodb;
-- Mock the quota check
SELECT cartodb.CDB_SetUserQuotaInBytes(0);
-- Install the extension
CREATE EXTENSION cdb_geocoder;