diff --git a/.github/workflows/gotests.yaml b/.github/workflows/gotests.yaml index a3ec3b68f..53ddd56ae 100644 --- a/.github/workflows/gotests.yaml +++ b/.github/workflows/gotests.yaml @@ -2,8 +2,6 @@ name: Go tests on: push: - branches: - - master pull_request: jobs: diff --git a/tests/helpers/mock_storage.go b/tests/helpers/mock_storage.go index 6faf96dbb..aa827d86a 100644 --- a/tests/helpers/mock_storage.go +++ b/tests/helpers/mock_storage.go @@ -151,7 +151,7 @@ func MustGetPostgresStorage(tb testing.TB, init bool) (storage.Storage, func()) storageConf.PGUsername = postgres connString := fmt.Sprintf( - "host=%s port=%d user=%s password=%s sslmode=disable", + "host=%s port=%d user=%s password=%s dbname=aggregator sslmode=disable", storageConf.PGHost, storageConf.PGPort, storageConf.PGUsername, storageConf.PGPassword, )