1
0
mirror of https://github.com/rancher/steve.git synced 2025-09-25 06:27:47 +00:00

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.
This commit is contained in:
Eric Promislow
2024-10-10 10:28:25 -07:00
committed by GitHub
parent 484ce1c9e9
commit 6a11ffb660
22 changed files with 202 additions and 160 deletions

View File

@@ -4,12 +4,12 @@ import (
"fmt"
"testing"
"github.com/golang/mock/gomock"
"github.com/rancher/apiserver/pkg/types"
"github.com/rancher/steve/pkg/schema/table"
"github.com/rancher/wrangler/v3/pkg/generic/fake"
wranglerSchema "github.com/rancher/wrangler/v3/pkg/schemas"
"github.com/stretchr/testify/assert"
"go.uber.org/mock/gomock"
v1 "k8s.io/apiextensions-apiserver/pkg/apis/apiextensions/v1"
)