Implement pointer types in postgres. (#2086)
* Support pointers in postgres * implement count * Fix bug in createClass
This commit is contained in:
@@ -103,7 +103,7 @@ describe('InstallationsRouter', () => {
|
||||
});
|
||||
});
|
||||
|
||||
it_exclude_dbs(['postgres'])('query installations with count = 1', (done) => {
|
||||
it('query installations with count = 1', done => {
|
||||
var androidDeviceRequest = {
|
||||
'installationId': '12345678-abcd-abcd-abcd-123456789abc',
|
||||
'deviceType': 'android'
|
||||
@@ -130,10 +130,14 @@ describe('InstallationsRouter', () => {
|
||||
expect(response.results.length).toEqual(2);
|
||||
expect(response.count).toEqual(2);
|
||||
done();
|
||||
});
|
||||
})
|
||||
.catch(error => {
|
||||
fail(JSON.stringify(error));
|
||||
done();
|
||||
})
|
||||
});
|
||||
|
||||
it_exclude_dbs(['postgres'])('query installations with limit = 0 and count = 1', (done) => {
|
||||
it('query installations with limit = 0 and count = 1', (done) => {
|
||||
var androidDeviceRequest = {
|
||||
'installationId': '12345678-abcd-abcd-abcd-123456789abc',
|
||||
'deviceType': 'android'
|
||||
|
||||
@@ -49,7 +49,7 @@ describe('Parse.Object testing', () => {
|
||||
});
|
||||
});
|
||||
|
||||
it_exclude_dbs(['postgres'])("save cycle", function(done) {
|
||||
it("save cycle", done => {
|
||||
var a = new Parse.Object("TestObject");
|
||||
var b = new Parse.Object("TestObject");
|
||||
a.set("b", b);
|
||||
@@ -1478,7 +1478,7 @@ describe('Parse.Object testing', () => {
|
||||
expectError(Parse.Error.MISSING_OBJECT_ID, done));
|
||||
});
|
||||
|
||||
it("fetchAll error on deleted object", function(done) {
|
||||
it_exclude_dbs(['postgres'])("fetchAll error on deleted object", function(done) {
|
||||
var numItems = 11;
|
||||
var container = new Container();
|
||||
var subContainer = new Container();
|
||||
|
||||
@@ -135,8 +135,7 @@ describe("test validate_receipt endpoint", () => {
|
||||
});
|
||||
});
|
||||
|
||||
it("should fail at appstore validation", (done) => {
|
||||
|
||||
it("should fail at appstore validation", done => {
|
||||
request.post({
|
||||
headers: {
|
||||
'X-Parse-Application-Id': 'test',
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
"use strict"
|
||||
// Sets up a Parse API server for testing.
|
||||
|
||||
jasmine.DEFAULT_TIMEOUT_INTERVAL = process.env.PARSE_SERVER_TEST_TIMEOUT || 3000;
|
||||
jasmine.DEFAULT_TIMEOUT_INTERVAL = process.env.PARSE_SERVER_TEST_TIMEOUT || 5000;
|
||||
|
||||
var cache = require('../src/cache').default;
|
||||
var DatabaseAdapter = require('../src/DatabaseAdapter');
|
||||
|
||||
Reference in New Issue
Block a user