Merge pull request #197 from CartoDB/add-quota-trigger
Add quota trigger to tests
This commit is contained in:
commit
19d3598d56
@ -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
|
||||
|
@ -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;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user