@@ -13,7 +13,7 @@ test('When fastify.pg root namespace is used:', (t) => {
1313 t . teardown ( ( ) => fastify . close ( ) )
1414
1515 fastify . register ( fastifyPostgres , {
16- connectionString : 'postgres://postgres@localhost/postgres'
16+ connectionString : 'postgres://postgres:postgres @localhost/postgres'
1717 } )
1818
1919 fastify . ready ( ( err ) => {
@@ -50,7 +50,7 @@ test('When fastify.pg root namespace is used:', (t) => {
5050 t . teardown ( ( ) => fastify . close ( ) )
5151
5252 fastify . register ( fastifyPostgres , {
53- connectionString : 'postgres://postgres@localhost/postgres'
53+ connectionString : 'postgres://postgres:postgres @localhost/postgres'
5454 } )
5555
5656 fastify . ready ( ( err ) => {
@@ -87,7 +87,7 @@ test('When fastify.pg root namespace is used:', (t) => {
8787 t . teardown ( ( ) => fastify . close ( ) )
8888
8989 fastify . register ( fastifyPostgres , {
90- connectionString : 'postgres://postgres@localhost/postgres'
90+ connectionString : 'postgres://postgres:postgres @localhost/postgres'
9191 } )
9292
9393 fastify . ready ( ( err ) => {
@@ -128,7 +128,7 @@ test('When fastify.pg root namespace is used:', (t) => {
128128 t . teardown ( ( ) => fastify . close ( ) )
129129
130130 fastify . register ( fastifyPostgres , {
131- connectionString : 'postgres://postgres@localhost/postgres'
131+ connectionString : 'postgres://postgres:postgres @localhost/postgres'
132132 } )
133133
134134 fastify . ready ( ( err ) => {
@@ -182,7 +182,7 @@ test('When fastify.pg root namespace is used:', (t) => {
182182 t . teardown ( ( ) => fastify . close ( ) )
183183
184184 fastify . register ( fastifyPostgres , {
185- connectionString : 'postgres://postgres@localhost/postgres'
185+ connectionString : 'postgres://postgres:postgres @localhost/postgres'
186186 } )
187187
188188 fastify . ready ( ( err ) => {
@@ -234,7 +234,7 @@ test('When fastify.pg root namespace is used:', (t) => {
234234 const BAD_DB_NAME = 'db_that_does_not_exist'
235235
236236 fastify . register ( fastifyPostgres , {
237- connectionString : `postgres://postgres@localhost/${ BAD_DB_NAME } `
237+ connectionString : `postgres://postgres:postgres @localhost/${ BAD_DB_NAME } `
238238 } )
239239
240240 fastify . ready ( ( err ) => {
@@ -259,7 +259,7 @@ test('When fastify.pg.test namespace is used:', (t) => {
259259 t . teardown ( ( ) => fastify . close ( ) )
260260
261261 fastify . register ( fastifyPostgres , {
262- connectionString : 'postgres://postgres@localhost/postgres' ,
262+ connectionString : 'postgres://postgres:postgres @localhost/postgres' ,
263263 name : 'test'
264264 } )
265265
@@ -297,7 +297,7 @@ test('When fastify.pg.test namespace is used:', (t) => {
297297 t . teardown ( ( ) => fastify . close ( ) )
298298
299299 fastify . register ( fastifyPostgres , {
300- connectionString : 'postgres://postgres@localhost/postgres' ,
300+ connectionString : 'postgres://postgres:postgres @localhost/postgres' ,
301301 name : 'test'
302302 } )
303303
@@ -337,7 +337,7 @@ test('When fastify.pg.test namespace is used:', (t) => {
337337 t . teardown ( ( ) => fastify . close ( ) )
338338
339339 fastify . register ( fastifyPostgres , {
340- connectionString : 'postgres://postgres@localhost/postgres' ,
340+ connectionString : 'postgres://postgres:postgres @localhost/postgres' ,
341341 name : 'test'
342342 } )
343343
@@ -380,7 +380,7 @@ test('When fastify.pg.test namespace is used:', (t) => {
380380 t . teardown ( ( ) => fastify . close ( ) )
381381
382382 fastify . register ( fastifyPostgres , {
383- connectionString : 'postgres://postgres@localhost/postgres' ,
383+ connectionString : 'postgres://postgres:postgres @localhost/postgres' ,
384384 name : 'test'
385385 } )
386386
@@ -435,7 +435,7 @@ test('When fastify.pg.test namespace is used:', (t) => {
435435 t . teardown ( ( ) => fastify . close ( ) )
436436
437437 fastify . register ( fastifyPostgres , {
438- connectionString : 'postgres://postgres@localhost/postgres' ,
438+ connectionString : 'postgres://postgres:postgres @localhost/postgres' ,
439439 name : 'test'
440440 } )
441441
@@ -488,7 +488,7 @@ test('When fastify.pg.test namespace is used:', (t) => {
488488 const BAD_DB_NAME = 'db_that_does_not_exist'
489489
490490 fastify . register ( fastifyPostgres , {
491- connectionString : `postgres://postgres@localhost/${ BAD_DB_NAME } ` ,
491+ connectionString : `postgres://postgres:postgres @localhost/${ BAD_DB_NAME } ` ,
492492 name : 'test'
493493 } )
494494
0 commit comments