Consitently switch to stretchr/testify

We were using stretchr/testify and test-go/testify inconsitently and
sometimes mixed in the same tests. This can cause very strange issue,
e.g when using things like mock.MatchedBy().

This moves all our code to stretchr/testify, which seems to be far
more active and maintained then test-go/testify.
This commit is contained in:
Ralf Haferkamp
2023-06-29 13:44:49 +02:00
committed by Ralf Haferkamp
parent cad866808e
commit c9a9fddef1
36 changed files with 19 additions and 3390 deletions
+1 -1
View File
@@ -25,7 +25,7 @@ import (
"github.com/owncloud/ocis/v2/services/userlog/mocks"
"github.com/owncloud/ocis/v2/services/userlog/pkg/config"
"github.com/owncloud/ocis/v2/services/userlog/pkg/service"
"github.com/test-go/testify/mock"
"github.com/stretchr/testify/mock"
microevents "go-micro.dev/v4/events"
microstore "go-micro.dev/v4/store"
"google.golang.org/grpc"