From 02ab2fbbb628f4a4bfc5e457bf25480246435206 Mon Sep 17 00:00:00 2001 From: Maximilian Seifert Date: Wed, 27 Mar 2019 22:00:44 +0100 Subject: [PATCH] Correction of database connector string Signed-off-by: Maximilian Seifert --- clientapi/auth/storage/devices/storage_test.go | 2 +- syncapi/storage/output_room_events_table_test.go | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/clientapi/auth/storage/devices/storage_test.go b/clientapi/auth/storage/devices/storage_test.go index 550d666ec..04789a106 100644 --- a/clientapi/auth/storage/devices/storage_test.go +++ b/clientapi/auth/storage/devices/storage_test.go @@ -28,7 +28,7 @@ func init() { } if insideCi { - dataSource = "postgres://postgres@postgres/dendrite_device?sslmode=disable" + dataSource = "postgres://postgres@localhost/dendrite_device?sslmode=disable" } else if insideDocker { dataSource = "postgres://dendrite:itsasecret@postgres/dendrite_device?sslmode=disable" } else { diff --git a/syncapi/storage/output_room_events_table_test.go b/syncapi/storage/output_room_events_table_test.go index a031ac969..9b66173ce 100644 --- a/syncapi/storage/output_room_events_table_test.go +++ b/syncapi/storage/output_room_events_table_test.go @@ -29,7 +29,7 @@ func init() { } if insideCi { - dataSource = "postgres://postgres@postgres/dendrite_syncapi?sslmode=disable" + dataSource = "postgres://postgres@localhost/dendrite_syncapi?sslmode=disable" } else if insideDocker { dataSource = "postgres://dendrite:itsasecret@postgres/dendrite_syncapi?sslmode=disable" } else {