added public user shouldn't insert test
This commit is contained in:
parent
80ecdc565c
commit
719644e76d
6
TODO.md
6
TODO.md
@ -1,11 +1,11 @@
|
||||
Prioritized todo
|
||||
-----------------
|
||||
|
||||
Acceptance tests
|
||||
SSL
|
||||
Acceptance tests - DONE
|
||||
SSL - Do in NGINX
|
||||
pg_bouncer/postgres pooling (test with Ab to get the errors below)
|
||||
redis-pool
|
||||
|
||||
psql solve:
|
||||
* postgres "could not create socket"
|
||||
* http://people.planetpostgresql.org/andrew/index.php?/archives/44-max_files_per_process-and-OS-limits.html
|
||||
* http://people.planetpostgresql.org/andrew/index.php?/archives/44-max_files_per_process-and-OS-limits.html
|
||||
|
@ -39,6 +39,13 @@ module.exports = {
|
||||
},{
|
||||
status: 200
|
||||
});
|
||||
},
|
||||
'GET /v1/ with SQL parameter on INSERT only. oAuth not used, so public user - should fail': function(){
|
||||
assert.response(app, {
|
||||
url: "/v1/?sql=INSERT%20INTO%20test_table%20(id)%20VALUES%20(1)&database=cartodb_test_user_1_db",
|
||||
method: 'GET'
|
||||
},{
|
||||
status: 400
|
||||
});
|
||||
}
|
||||
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user