Skip to content

support pg-promise init options #3613

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 12 commits into from
Apr 7, 2017
8 changes: 4 additions & 4 deletions spec/PostgresInitOptions.spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,10 @@ const Parse = require('parse/node').Parse;
const PostgresStorageAdapter = require('../src/Adapters/Storage/Postgres/PostgresStorageAdapter');
const postgresURI = 'postgres://username:password@localhost:5432/db-name';

const GameScore = Parse.Object.extend({
className: "GameScore"
});

//public schema
const databaseOptions1 = {
initOptions: {
Expand All @@ -24,10 +28,6 @@ const databaseOptions2 = {
}
};

const GameScore = Parse.Object.extend({
className: "GameScore"
});

describe('Postgres database init options', () => {
it('create server with public schema databaseOptions,shoud be ok', (done) => {
reconfigureServer({
Expand Down