diff --git a/auth/log/logger_test.go b/auth/log/logger_test.go index 853f85c33a..40d107bf04 100644 --- a/auth/log/logger_test.go +++ b/auth/log/logger_test.go @@ -21,7 +21,7 @@ package log import ( "testing" - "github.com/magiconair/properties/assert" + "github.com/stretchr/testify/assert" ) func TestLog(t *testing.T) { diff --git a/crypto/api/v1/generated_test.go b/crypto/api/v1/generated_test.go index c4bd572559..8910af5f47 100644 --- a/crypto/api/v1/generated_test.go +++ b/crypto/api/v1/generated_test.go @@ -24,10 +24,9 @@ import ( "strings" "testing" - "github.com/nuts-foundation/nuts-node/core" - "github.com/labstack/echo/v4" - "github.com/magiconair/properties/assert" + "github.com/nuts-foundation/nuts-node/core" + "github.com/stretchr/testify/assert" "go.uber.org/mock/gomock" ) diff --git a/events/log/logger_test.go b/events/log/logger_test.go index c5fd05521f..26bbf0c401 100644 --- a/events/log/logger_test.go +++ b/events/log/logger_test.go @@ -21,7 +21,7 @@ package log import ( "testing" - "github.com/magiconair/properties/assert" + "github.com/stretchr/testify/assert" ) func TestLog(t *testing.T) { diff --git a/go.mod b/go.mod index 643d36954b..847e539b17 100644 --- a/go.mod +++ b/go.mod @@ -23,7 +23,6 @@ require ( github.com/knadh/koanf/v2 v2.1.2 github.com/labstack/echo/v4 v4.13.0 github.com/lestrrat-go/jwx/v2 v2.1.3 - github.com/magiconair/properties v1.8.7 github.com/mdp/qrterminal/v3 v3.2.0 github.com/mr-tron/base58 v1.2.0 github.com/multiformats/go-multicodec v0.9.0 diff --git a/go.sum b/go.sum index 362faae9a4..22e0ac942b 100644 --- a/go.sum +++ b/go.sum @@ -298,8 +298,6 @@ github.com/lestrrat-go/jwx/v2 v2.1.3 h1:Ud4lb2QuxRClYAmRleF50KrbKIoM1TddXgBrneT5 github.com/lestrrat-go/jwx/v2 v2.1.3/go.mod h1:q6uFgbgZfEmQrfJfrCo90QcQOcXFMfbI/fO0NqRtvZo= github.com/lestrrat-go/option v1.0.1 h1:oAzP2fvZGQKWkvHa1/SAcFolBEca1oN+mQ7eooNBEYU= github.com/lestrrat-go/option v1.0.1/go.mod h1:5ZHFbivi4xwXxhxY9XHDe2FHo6/Z7WWmtT7T5nBBp3I= -github.com/magiconair/properties v1.8.7 h1:IeQXZAiQcpL9mgcAe1Nu6cX9LLw6ExEHKjN0VQdvPDY= -github.com/magiconair/properties v1.8.7/go.mod h1:Dhd985XPs7jluiymwWYZ0G4Z61jb3vdS329zhj2hYo0= github.com/mailru/easyjson v0.7.7 h1:UGYAvKxe3sBsEDzO8ZeWOSlIQfWFlxbzLZe7hwFURr0= github.com/mailru/easyjson v0.7.7/go.mod h1:xzfreul335JAWq5oZzymOObrkdz5UnU4kGfJJLY9Nlc= github.com/mattn/go-colorable v0.0.9/go.mod h1:9vuHe8Xs5qXnSaW/c/ABM9alt+Vo+STaOChaDxuIBZU= diff --git a/http/log/logger_test.go b/http/log/logger_test.go index 20a595bbf0..768c18cf76 100644 --- a/http/log/logger_test.go +++ b/http/log/logger_test.go @@ -21,7 +21,7 @@ package log import ( "testing" - "github.com/magiconair/properties/assert" + "github.com/stretchr/testify/assert" ) func TestLog(t *testing.T) { diff --git a/network/dag/consistency_test.go b/network/dag/consistency_test.go index a13387b9df..af6fa50762 100644 --- a/network/dag/consistency_test.go +++ b/network/dag/consistency_test.go @@ -21,12 +21,12 @@ package dag import ( "context" "encoding/binary" - "github.com/magiconair/properties/assert" "github.com/nuts-foundation/nuts-node/crypto/hash" "github.com/nuts-foundation/nuts-node/network/dag/tree" "github.com/nuts-foundation/nuts-node/storage" "github.com/nuts-foundation/nuts-node/test" "github.com/nuts-foundation/nuts-node/test/io" + "github.com/stretchr/testify/assert" "github.com/stretchr/testify/require" "go.uber.org/goleak" "path" diff --git a/network/transport/grpc/stats_test.go b/network/transport/grpc/stats_test.go index b98e059c4c..ab6dff02f3 100644 --- a/network/transport/grpc/stats_test.go +++ b/network/transport/grpc/stats_test.go @@ -20,12 +20,13 @@ package grpc import ( "errors" - "github.com/magiconair/properties/assert" + "testing" + "github.com/nuts-foundation/nuts-node/network/transport" "github.com/prometheus/client_golang/prometheus" io_prometheus_client "github.com/prometheus/client_model/go" + "github.com/stretchr/testify/assert" "go.uber.org/mock/gomock" - "testing" ) func Test_NumberOfPeersStatistic(t *testing.T) { diff --git a/vcr/log/log_test.go b/vcr/log/log_test.go index 1b1e4416eb..a8b630ea36 100644 --- a/vcr/log/log_test.go +++ b/vcr/log/log_test.go @@ -21,7 +21,7 @@ package log import ( "testing" - "github.com/magiconair/properties/assert" + "github.com/stretchr/testify/assert" ) func TestLog(t *testing.T) { diff --git a/vdr/didsubject/test.go b/vdr/didsubject/test.go index 6fa1d79340..85b5267ea6 100644 --- a/vdr/didsubject/test.go +++ b/vdr/didsubject/test.go @@ -22,9 +22,9 @@ import ( "github.com/sirupsen/logrus" "testing" - "github.com/magiconair/properties/assert" "github.com/nuts-foundation/go-did/did" "github.com/nuts-foundation/nuts-node/storage" + "github.com/stretchr/testify/assert" "github.com/stretchr/testify/require" "gorm.io/gorm" ) diff --git a/vdr/log/logger_test.go b/vdr/log/logger_test.go index fd4e3709c7..3aed5c77f3 100644 --- a/vdr/log/logger_test.go +++ b/vdr/log/logger_test.go @@ -21,7 +21,7 @@ package log import ( "testing" - "github.com/magiconair/properties/assert" + "github.com/stretchr/testify/assert" ) func TestLog(t *testing.T) {