@@ -320,12 +320,12 @@ describe("gmrc path", () => {
320
320
mockFs . restore ( ) ;
321
321
mockFs ( {
322
322
[ DEFAULT_GMRC_PATH ] : `
323
- { "connectionString": "postgres://appuser:apppassword @host:5432/defaultdb" }
323
+ { "connectionString": "postgres://dbowner:password @host:5432/defaultdb" }
324
324
` ,
325
325
} ) ;
326
326
const settings = await getSettings ( ) ;
327
327
expect ( settings . connectionString ) . toEqual (
328
- "postgres://appuser:apppassword @host:5432/defaultdb" ,
328
+ "postgres://dbowner:password @host:5432/defaultdb" ,
329
329
) ;
330
330
mockFs . restore ( ) ;
331
331
} ) ;
@@ -334,15 +334,15 @@ describe("gmrc path", () => {
334
334
mockFs . restore ( ) ;
335
335
mockFs ( {
336
336
[ DEFAULT_GMRC_PATH ] : `
337
- { "connectionString": "postgres://appuser:apppassword @host:5432/defaultdb" }
337
+ { "connectionString": "postgres://dbowner:password @host:5432/defaultdb" }
338
338
` ,
339
339
".other-gmrc" : `
340
- { "connectionString": "postgres://appuser:apppassword @host:5432/otherdb" }
340
+ { "connectionString": "postgres://dbowner:password @host:5432/otherdb" }
341
341
` ,
342
342
} ) ;
343
343
const settings = await getSettings ( { configFile : ".other-gmrc" } ) ;
344
344
expect ( settings . connectionString ) . toEqual (
345
- "postgres://appuser:apppassword @host:5432/otherdb" ,
345
+ "postgres://dbowner:password @host:5432/otherdb" ,
346
346
) ;
347
347
mockFs . restore ( ) ;
348
348
} ) ;
@@ -362,12 +362,12 @@ describe("gmrc from JS", () => {
362
362
mockFs ( {
363
363
[ DEFAULT_GMRCJS_PATH ] : /* JavaScript */ `\
364
364
module.exports = {
365
- connectionString: "postgres://appuser:apppassword @host:5432/gmrcjs_test",
365
+ connectionString: "postgres://dbowner:password @host:5432/gmrcjs_test",
366
366
};` ,
367
367
} ) ;
368
368
const settings = await getSettings ( ) ;
369
369
expect ( settings . connectionString ) . toEqual (
370
- "postgres://appuser:apppassword @host:5432/gmrcjs_test" ,
370
+ "postgres://dbowner:password @host:5432/gmrcjs_test" ,
371
371
) ;
372
372
mockFs . restore ( ) ;
373
373
} ) ;
@@ -382,12 +382,12 @@ module.exports = {
382
382
mockFs ( {
383
383
[ DEFAULT_GMRC_COMMONJS_PATH ] : /* JavaScript */ `\
384
384
module.exports = {
385
- connectionString: "postgres://appuser:apppassword @host:5432/gmrc_commonjs_test",
385
+ connectionString: "postgres://dbowner:password @host:5432/gmrc_commonjs_test",
386
386
};` ,
387
387
} ) ;
388
388
const settings = await getSettings ( ) ;
389
389
expect ( settings . connectionString ) . toEqual (
390
- "postgres://appuser:apppassword @host:5432/gmrc_commonjs_test" ,
390
+ "postgres://dbowner:password @host:5432/gmrc_commonjs_test" ,
391
391
) ;
392
392
mockFs . restore ( ) ;
393
393
} ) ;
0 commit comments