mirror of
https://github.com/rancher/steve.git
synced 2025-09-09 19:29:56 +00:00
[v0.3] Migrate the mocking library to uber's (#475)
* Migrate the mocking library to uber's (#291) * Migrate from golang/mock to uber/mock. * Update go.mod * Continue migration to uber/mock. * Tweaks from running the go.uber.mock's mockgen. * go generate ./... --------- Co-authored-by: Eric Promislow <epromislow@suse.com>
This commit is contained in:
@@ -8,7 +8,6 @@ import (
|
||||
"testing"
|
||||
"time"
|
||||
|
||||
"github.com/golang/mock/gomock"
|
||||
"github.com/rancher/apiserver/pkg/types"
|
||||
"github.com/rancher/steve/pkg/accesscontrol"
|
||||
acfake "github.com/rancher/steve/pkg/accesscontrol/fake"
|
||||
@@ -17,6 +16,7 @@ import (
|
||||
schemafake "github.com/rancher/steve/pkg/schema/fake"
|
||||
v1schema "github.com/rancher/wrangler/v3/pkg/schemas"
|
||||
"github.com/stretchr/testify/assert"
|
||||
"go.uber.org/mock/gomock"
|
||||
"k8s.io/apiserver/pkg/authentication/user"
|
||||
"k8s.io/apiserver/pkg/endpoints/request"
|
||||
)
|
||||
|
Reference in New Issue
Block a user