Enable a few tests to test against Postgres (#2971)

* Enable RestCreate related tests for Postgres

* Enable tests in ParseRole for postgres

* Enable one ParseObject test for postgres

* Improve the way a jsonb field is updated.

* Use Postgres 9.5 in Travis

* Install Postgres 9.5 in Travis

* Use sudo to install and setup Postgres 9.5 in Travis

* Test if Postgres 9.5 can be used with trusty

* Re-exclude a test for postgres

* Revert travis to its original form
This commit is contained in:
Kulshekhar Kabra
2016-11-01 17:00:22 +05:30
committed by Florent Vilmart
parent 5c4806ba6d
commit 8f0ae7081d
2 changed files with 2 additions and 2 deletions

View File

@@ -1066,7 +1066,7 @@ describe('Parse.Object testing', () => {
}); });
}); });
it_exclude_dbs(['postgres'])("saving children in an array", function(done) { it("saving children in an array", function(done) {
var Parent = Parse.Object.extend("Parent"); var Parent = Parse.Object.extend("Parent");
var Child = Parse.Object.extend("Child"); var Child = Parse.Object.extend("Child");

View File

@@ -76,7 +76,7 @@ describe('Parse Role testing', () => {
return role.save({}, { useMasterKey: true }); return role.save({}, { useMasterKey: true });
}; };
it_exclude_dbs(['postgres'])("should not recursively load the same role multiple times", (done) => { it("should not recursively load the same role multiple times", (done) => {
var rootRole = "RootRole"; var rootRole = "RootRole";
var roleNames = ["FooRole", "BarRole", "BazRole"]; var roleNames = ["FooRole", "BarRole", "BazRole"];
var allRoles = [rootRole].concat(roleNames); var allRoles = [rootRole].concat(roleNames);