🤡 Use uber mock for mocks

This commit is contained in:
Dan Jones 2025-01-24 16:27:05 -06:00
commit ecae0d5f83
11 changed files with 2306 additions and 144 deletions

View file

@ -7,6 +7,8 @@ import (
"github.com/openshift/osin"
)
//go:generate mockgen -source store.go -destination ../internal/testmocks/store/store_mock.go -package store -typed
type ClientSaver interface {
// UpdateClient updates the client (identified by it's id) and replaces the values with the values of client.
UpdateClient(c osin.Client) error