Merge pull request #197 from CartoDB/add-quota-trigger

Add quota trigger to tests
This commit is contained in:
Rafa de la Torre 2015-12-02 17:47:36 +01:00
commit 19d3598d56
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;