From b6ed32ead2881595d7ece3f9320d57fa3fe6f5f6 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Wed, 15 Jan 2025 12:04:43 +0000 Subject: [PATCH] Bump github.com/pashagolub/pgxmock/v4 from 4.3.0 to 4.4.0 Bumps [github.com/pashagolub/pgxmock/v4](https://github.com/pashagolub/pgxmock) from 4.3.0 to 4.4.0. - [Release notes](https://github.com/pashagolub/pgxmock/releases) - [Commits](https://github.com/pashagolub/pgxmock/compare/v4.3.0...v4.4.0) --- updated-dependencies: - dependency-name: github.com/pashagolub/pgxmock/v4 dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] --- go.mod | 2 +- go.sum | 4 ++-- vendor/github.com/pashagolub/pgxmock/v4/README.md | 2 +- vendor/github.com/pashagolub/pgxmock/v4/driver.go | 2 +- vendor/modules.txt | 2 +- 5 files changed, 6 insertions(+), 6 deletions(-) diff --git a/go.mod b/go.mod index 4cf03cdc..fcf1147b 100644 --- a/go.mod +++ b/go.mod @@ -8,7 +8,7 @@ require ( github.com/jackc/pgx/v5 v5.7.2 github.com/onsi/ginkgo/v2 v2.22.2 github.com/onsi/gomega v1.36.2 - github.com/pashagolub/pgxmock/v4 v4.3.0 + github.com/pashagolub/pgxmock/v4 v4.4.0 github.com/prometheus/client_golang v1.20.5 github.com/prometheus/client_model v0.6.1 github.com/rs/zerolog v1.33.0 diff --git a/go.sum b/go.sum index b5322443..57ad26c8 100644 --- a/go.sum +++ b/go.sum @@ -130,8 +130,8 @@ github.com/opencontainers/go-digest v1.0.0 h1:apOUWs51W5PlhuyGyz9FCeeBIOUDA/6nW8 github.com/opencontainers/go-digest v1.0.0/go.mod h1:0JzlMkj0TRzQZfJkVvzbP0HBR3IKzErnv2BNG4W4MAM= github.com/opencontainers/image-spec v1.1.0 h1:8SG7/vwALn54lVB/0yZ/MMwhFrPYtpEHQb2IpWsCzug= github.com/opencontainers/image-spec v1.1.0/go.mod h1:W4s4sFTMaBeK1BQLXbG4AdM2szdn85PY75RI83NrTrM= -github.com/pashagolub/pgxmock/v4 v4.3.0 h1:DqT7fk0OCK6H0GvqtcMsLpv8cIwWqdxWgfZNLeHCb/s= -github.com/pashagolub/pgxmock/v4 v4.3.0/go.mod h1:9VoVHXwS3XR/yPtKGzwQvwZX1kzGB9sM8SviDcHDa3A= +github.com/pashagolub/pgxmock/v4 v4.4.0 h1:zrZHBzqlzIFrq5Iw6nQpmpEd77eLqGIC2ol4ZTeojz0= +github.com/pashagolub/pgxmock/v4 v4.4.0/go.mod h1:9VoVHXwS3XR/yPtKGzwQvwZX1kzGB9sM8SviDcHDa3A= github.com/pingcap/errors v0.11.4 h1:lFuQV/oaUMGcD2tqt+01ROSmJs75VG1ToEOkZIZ4nE4= github.com/pingcap/errors v0.11.4/go.mod h1:Oi8TUi2kEtXXLMJk9l1cGmz20kV3TaQ0usTwv5KuLY8= github.com/pkg/errors v0.9.1 h1:FEBLx1zS214owpjy7qsBeixbURkuhQAwrK5UwLGTwt4= diff --git a/vendor/github.com/pashagolub/pgxmock/v4/README.md b/vendor/github.com/pashagolub/pgxmock/v4/README.md index 71eadc7d..81806387 100644 --- a/vendor/github.com/pashagolub/pgxmock/v4/README.md +++ b/vendor/github.com/pashagolub/pgxmock/v4/README.md @@ -1,7 +1,7 @@ [![Go Reference](https://pkg.go.dev/badge/github.com/pashagolub/pgxmock.svg)](https://pkg.go.dev/github.com/pashagolub/pgxmock/v4) [![Go Report Card](https://goreportcard.com/badge/github.com/pashagolub/pgxmock)](https://goreportcard.com/report/github.com/pashagolub/pgxmock/v4) [![Coverage Status](https://coveralls.io/repos/github/pashagolub/pgxmock/badge.svg?branch=master)](https://coveralls.io/github/pashagolub/pgxmock?branch=master) - +[![Mentioned in Awesome Go](https://awesome.re/mentioned-badge.svg)](https://github.com/avelino/awesome-go) # pgx driver mock for Golang diff --git a/vendor/github.com/pashagolub/pgxmock/v4/driver.go b/vendor/github.com/pashagolub/pgxmock/v4/driver.go index 01d74515..346f36f7 100644 --- a/vendor/github.com/pashagolub/pgxmock/v4/driver.go +++ b/vendor/github.com/pashagolub/pgxmock/v4/driver.go @@ -45,7 +45,7 @@ func (p *pgxmockPool) Acquire(context.Context) (*pgxpool.Conn, error) { } func (p *pgxmockPool) Config() *pgxpool.Config { - return &pgxpool.Config{} + return &pgxpool.Config{ConnConfig: &pgx.ConnConfig{}} } // AsConn is similar to Acquire but returns proper mocking interface diff --git a/vendor/modules.txt b/vendor/modules.txt index 08d21a0d..abd20667 100644 --- a/vendor/modules.txt +++ b/vendor/modules.txt @@ -253,7 +253,7 @@ github.com/opencontainers/go-digest ## explicit; go 1.18 github.com/opencontainers/image-spec/specs-go github.com/opencontainers/image-spec/specs-go/v1 -# github.com/pashagolub/pgxmock/v4 v4.3.0 +# github.com/pashagolub/pgxmock/v4 v4.4.0 ## explicit; go 1.22.0 github.com/pashagolub/pgxmock/v4 # github.com/pkg/errors v0.9.1