repostesting

package
v0.0.0-...-5905bd6 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 19, 2023 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Overview

Code generated by counterfeiter. DO NOT EDIT.

Code generated by counterfeiter. DO NOT EDIT.

Code generated by counterfeiter. DO NOT EDIT.

Code generated by counterfeiter. DO NOT EDIT.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type FakeNotification

type FakeNotification struct {
	CreateStub func(context.Context, db.DBTX, *db.NotificationCreateParams) (*db.Notification, error)

	DeleteStub func(context.Context, db.DBTX, db.NotificationID) (*db.Notification, error)

	LatestUserNotificationsStub func(context.Context, db.DBTX, *db.GetUserNotificationsParams) ([]db.GetUserNotificationsRow, error)
	// contains filtered or unexported fields
}

func NewFakeNotification

func NewFakeNotification(notifications ...*db.Notification) *FakeNotification

NewFakeNotification returns a mock for the Notification repository, initializing it with copies of the passed notifications.

func (*FakeNotification) Create

func (fake *FakeNotification) Create(arg1 context.Context, arg2 db.DBTX, arg3 *db.NotificationCreateParams) (*db.Notification, error)

func (*FakeNotification) CreateArgsForCall

func (fake *FakeNotification) CreateArgsForCall(i int) (context.Context, db.DBTX, *db.NotificationCreateParams)

func (*FakeNotification) CreateCallCount

func (fake *FakeNotification) CreateCallCount() int

func (*FakeNotification) CreateCalls

func (fake *FakeNotification) CreateCalls(stub func(context.Context, db.DBTX, *db.NotificationCreateParams) (*db.Notification, error))

func (*FakeNotification) CreateReturns

func (fake *FakeNotification) CreateReturns(result1 *db.Notification, result2 error)

func (*FakeNotification) CreateReturnsOnCall

func (fake *FakeNotification) CreateReturnsOnCall(i int, result1 *db.Notification, result2 error)

func (*FakeNotification) Delete

func (fake *FakeNotification) Delete(arg1 context.Context, arg2 db.DBTX, arg3 db.NotificationID) (*db.Notification, error)

func (*FakeNotification) DeleteArgsForCall

func (fake *FakeNotification) DeleteArgsForCall(i int) (context.Context, db.DBTX, db.NotificationID)

func (*FakeNotification) DeleteCallCount

func (fake *FakeNotification) DeleteCallCount() int

func (*FakeNotification) DeleteCalls

func (fake *FakeNotification) DeleteCalls(stub func(context.Context, db.DBTX, db.NotificationID) (*db.Notification, error))

func (*FakeNotification) DeleteReturns

func (fake *FakeNotification) DeleteReturns(result1 *db.Notification, result2 error)

func (*FakeNotification) DeleteReturnsOnCall

func (fake *FakeNotification) DeleteReturnsOnCall(i int, result1 *db.Notification, result2 error)

func (*FakeNotification) Invocations

func (fake *FakeNotification) Invocations() map[string][][]interface{}

func (*FakeNotification) LatestUserNotifications

func (fake *FakeNotification) LatestUserNotifications(arg1 context.Context, arg2 db.DBTX, arg3 *db.GetUserNotificationsParams) ([]db.GetUserNotificationsRow, error)

func (*FakeNotification) LatestUserNotificationsArgsForCall

func (fake *FakeNotification) LatestUserNotificationsArgsForCall(i int) (context.Context, db.DBTX, *db.GetUserNotificationsParams)

func (*FakeNotification) LatestUserNotificationsCallCount

func (fake *FakeNotification) LatestUserNotificationsCallCount() int

func (*FakeNotification) LatestUserNotificationsCalls

func (fake *FakeNotification) LatestUserNotificationsCalls(stub func(context.Context, db.DBTX, *db.GetUserNotificationsParams) ([]db.GetUserNotificationsRow, error))

func (*FakeNotification) LatestUserNotificationsReturns

func (fake *FakeNotification) LatestUserNotificationsReturns(result1 []db.GetUserNotificationsRow, result2 error)

func (*FakeNotification) LatestUserNotificationsReturnsOnCall

func (fake *FakeNotification) LatestUserNotificationsReturnsOnCall(i int, result1 []db.GetUserNotificationsRow, result2 error)

type FakeProject

type FakeProject struct {
	ByIDStub func(context.Context, db.DBTX, db.ProjectID, ...db.ProjectSelectConfigOption) (*db.Project, error)

	ByNameStub func(context.Context, db.DBTX, models.Project, ...db.ProjectSelectConfigOption) (*db.Project, error)
	// contains filtered or unexported fields
}

func (*FakeProject) ByID

func (fake *FakeProject) ByID(arg1 context.Context, arg2 db.DBTX, arg3 db.ProjectID, arg4 ...db.ProjectSelectConfigOption) (*db.Project, error)

func (*FakeProject) ByIDArgsForCall

func (fake *FakeProject) ByIDArgsForCall(i int) (context.Context, db.DBTX, db.ProjectID, []db.ProjectSelectConfigOption)

func (*FakeProject) ByIDCallCount

func (fake *FakeProject) ByIDCallCount() int

func (*FakeProject) ByIDCalls

func (fake *FakeProject) ByIDCalls(stub func(context.Context, db.DBTX, db.ProjectID, ...db.ProjectSelectConfigOption) (*db.Project, error))

func (*FakeProject) ByIDReturns

func (fake *FakeProject) ByIDReturns(result1 *db.Project, result2 error)

func (*FakeProject) ByIDReturnsOnCall

func (fake *FakeProject) ByIDReturnsOnCall(i int, result1 *db.Project, result2 error)

func (*FakeProject) ByName

func (fake *FakeProject) ByName(arg1 context.Context, arg2 db.DBTX, arg3 models.Project, arg4 ...db.ProjectSelectConfigOption) (*db.Project, error)

func (*FakeProject) ByNameArgsForCall

func (fake *FakeProject) ByNameArgsForCall(i int) (context.Context, db.DBTX, models.Project, []db.ProjectSelectConfigOption)

func (*FakeProject) ByNameCallCount

func (fake *FakeProject) ByNameCallCount() int

func (*FakeProject) ByNameCalls

func (fake *FakeProject) ByNameCalls(stub func(context.Context, db.DBTX, models.Project, ...db.ProjectSelectConfigOption) (*db.Project, error))

func (*FakeProject) ByNameReturns

func (fake *FakeProject) ByNameReturns(result1 *db.Project, result2 error)

func (*FakeProject) ByNameReturnsOnCall

func (fake *FakeProject) ByNameReturnsOnCall(i int, result1 *db.Project, result2 error)

func (*FakeProject) Invocations

func (fake *FakeProject) Invocations() map[string][][]interface{}

type FakeTeam

type FakeTeam struct {
	ByIDStub func(context.Context, db.DBTX, db.TeamID, ...db.TeamSelectConfigOption) (*db.Team, error)

	ByNameStub func(context.Context, db.DBTX, string, db.ProjectID, ...db.TeamSelectConfigOption) (*db.Team, error)

	CreateStub func(context.Context, db.DBTX, *db.TeamCreateParams) (*db.Team, error)

	DeleteStub func(context.Context, db.DBTX, db.TeamID) (*db.Team, error)

	UpdateStub func(context.Context, db.DBTX, db.TeamID, *db.TeamUpdateParams) (*db.Team, error)
	// contains filtered or unexported fields
}

func (*FakeTeam) ByID

func (fake *FakeTeam) ByID(arg1 context.Context, arg2 db.DBTX, arg3 db.TeamID, arg4 ...db.TeamSelectConfigOption) (*db.Team, error)

func (*FakeTeam) ByIDArgsForCall

func (fake *FakeTeam) ByIDArgsForCall(i int) (context.Context, db.DBTX, db.TeamID, []db.TeamSelectConfigOption)

func (*FakeTeam) ByIDCallCount

func (fake *FakeTeam) ByIDCallCount() int

func (*FakeTeam) ByIDCalls

func (fake *FakeTeam) ByIDCalls(stub func(context.Context, db.DBTX, db.TeamID, ...db.TeamSelectConfigOption) (*db.Team, error))

func (*FakeTeam) ByIDReturns

func (fake *FakeTeam) ByIDReturns(result1 *db.Team, result2 error)

func (*FakeTeam) ByIDReturnsOnCall

func (fake *FakeTeam) ByIDReturnsOnCall(i int, result1 *db.Team, result2 error)

func (*FakeTeam) ByName

func (fake *FakeTeam) ByName(arg1 context.Context, arg2 db.DBTX, arg3 string, arg4 db.ProjectID, arg5 ...db.TeamSelectConfigOption) (*db.Team, error)

func (*FakeTeam) ByNameArgsForCall

func (fake *FakeTeam) ByNameArgsForCall(i int) (context.Context, db.DBTX, string, db.ProjectID, []db.TeamSelectConfigOption)

func (*FakeTeam) ByNameCallCount

func (fake *FakeTeam) ByNameCallCount() int

func (*FakeTeam) ByNameCalls

func (fake *FakeTeam) ByNameCalls(stub func(context.Context, db.DBTX, string, db.ProjectID, ...db.TeamSelectConfigOption) (*db.Team, error))

func (*FakeTeam) ByNameReturns

func (fake *FakeTeam) ByNameReturns(result1 *db.Team, result2 error)

func (*FakeTeam) ByNameReturnsOnCall

func (fake *FakeTeam) ByNameReturnsOnCall(i int, result1 *db.Team, result2 error)

func (*FakeTeam) Create

func (fake *FakeTeam) Create(arg1 context.Context, arg2 db.DBTX, arg3 *db.TeamCreateParams) (*db.Team, error)

func (*FakeTeam) CreateArgsForCall

func (fake *FakeTeam) CreateArgsForCall(i int) (context.Context, db.DBTX, *db.TeamCreateParams)

func (*FakeTeam) CreateCallCount

func (fake *FakeTeam) CreateCallCount() int

func (*FakeTeam) CreateCalls

func (fake *FakeTeam) CreateCalls(stub func(context.Context, db.DBTX, *db.TeamCreateParams) (*db.Team, error))

func (*FakeTeam) CreateReturns

func (fake *FakeTeam) CreateReturns(result1 *db.Team, result2 error)

func (*FakeTeam) CreateReturnsOnCall

func (fake *FakeTeam) CreateReturnsOnCall(i int, result1 *db.Team, result2 error)

func (*FakeTeam) Delete

func (fake *FakeTeam) Delete(arg1 context.Context, arg2 db.DBTX, arg3 db.TeamID) (*db.Team, error)

func (*FakeTeam) DeleteArgsForCall

func (fake *FakeTeam) DeleteArgsForCall(i int) (context.Context, db.DBTX, db.TeamID)

func (*FakeTeam) DeleteCallCount

func (fake *FakeTeam) DeleteCallCount() int

func (*FakeTeam) DeleteCalls

func (fake *FakeTeam) DeleteCalls(stub func(context.Context, db.DBTX, db.TeamID) (*db.Team, error))

func (*FakeTeam) DeleteReturns

func (fake *FakeTeam) DeleteReturns(result1 *db.Team, result2 error)

func (*FakeTeam) DeleteReturnsOnCall

func (fake *FakeTeam) DeleteReturnsOnCall(i int, result1 *db.Team, result2 error)

func (*FakeTeam) Invocations

func (fake *FakeTeam) Invocations() map[string][][]interface{}

func (*FakeTeam) Update

func (fake *FakeTeam) Update(arg1 context.Context, arg2 db.DBTX, arg3 db.TeamID, arg4 *db.TeamUpdateParams) (*db.Team, error)

func (*FakeTeam) UpdateArgsForCall

func (fake *FakeTeam) UpdateArgsForCall(i int) (context.Context, db.DBTX, db.TeamID, *db.TeamUpdateParams)

func (*FakeTeam) UpdateCallCount

func (fake *FakeTeam) UpdateCallCount() int

func (*FakeTeam) UpdateCalls

func (fake *FakeTeam) UpdateCalls(stub func(context.Context, db.DBTX, db.TeamID, *db.TeamUpdateParams) (*db.Team, error))

func (*FakeTeam) UpdateReturns

func (fake *FakeTeam) UpdateReturns(result1 *db.Team, result2 error)

func (*FakeTeam) UpdateReturnsOnCall

func (fake *FakeTeam) UpdateReturnsOnCall(i int, result1 *db.Team, result2 error)

type FakeUser

type FakeUser struct {
	ByAPIKeyStub func(context.Context, db.DBTX, string) (*db.User, error)

	ByEmailStub func(context.Context, db.DBTX, string, ...db.UserSelectConfigOption) (*db.User, error)

	ByExternalIDStub func(context.Context, db.DBTX, string, ...db.UserSelectConfigOption) (*db.User, error)

	ByIDStub func(context.Context, db.DBTX, db.UserID, ...db.UserSelectConfigOption) (*db.User, error)

	ByProjectStub func(context.Context, db.DBTX, db.ProjectID) ([]db.User, error)

	ByTeamStub func(context.Context, db.DBTX, db.TeamID) ([]db.User, error)

	ByUsernameStub func(context.Context, db.DBTX, string, ...db.UserSelectConfigOption) (*db.User, error)

	CreateStub func(context.Context, db.DBTX, *db.UserCreateParams) (*db.User, error)

	CreateAPIKeyStub func(context.Context, db.DBTX, *db.User) (*db.UserAPIKey, error)

	DeleteStub func(context.Context, db.DBTX, db.UserID) (*db.User, error)

	DeleteAPIKeyStub func(context.Context, db.DBTX, string) (*db.UserAPIKey, error)

	UpdateStub func(context.Context, db.DBTX, db.UserID, *db.UserUpdateParams) (*db.User, error)
	// contains filtered or unexported fields
}

func (*FakeUser) ByAPIKey

func (fake *FakeUser) ByAPIKey(arg1 context.Context, arg2 db.DBTX, arg3 string) (*db.User, error)

func (*FakeUser) ByAPIKeyArgsForCall

func (fake *FakeUser) ByAPIKeyArgsForCall(i int) (context.Context, db.DBTX, string)

func (*FakeUser) ByAPIKeyCallCount

func (fake *FakeUser) ByAPIKeyCallCount() int

func (*FakeUser) ByAPIKeyCalls

func (fake *FakeUser) ByAPIKeyCalls(stub func(context.Context, db.DBTX, string) (*db.User, error))

func (*FakeUser) ByAPIKeyReturns

func (fake *FakeUser) ByAPIKeyReturns(result1 *db.User, result2 error)

func (*FakeUser) ByAPIKeyReturnsOnCall

func (fake *FakeUser) ByAPIKeyReturnsOnCall(i int, result1 *db.User, result2 error)

func (*FakeUser) ByEmail

func (fake *FakeUser) ByEmail(arg1 context.Context, arg2 db.DBTX, arg3 string, arg4 ...db.UserSelectConfigOption) (*db.User, error)

func (*FakeUser) ByEmailArgsForCall

func (fake *FakeUser) ByEmailArgsForCall(i int) (context.Context, db.DBTX, string, []db.UserSelectConfigOption)

func (*FakeUser) ByEmailCallCount

func (fake *FakeUser) ByEmailCallCount() int

func (*FakeUser) ByEmailCalls

func (fake *FakeUser) ByEmailCalls(stub func(context.Context, db.DBTX, string, ...db.UserSelectConfigOption) (*db.User, error))

func (*FakeUser) ByEmailReturns

func (fake *FakeUser) ByEmailReturns(result1 *db.User, result2 error)

func (*FakeUser) ByEmailReturnsOnCall

func (fake *FakeUser) ByEmailReturnsOnCall(i int, result1 *db.User, result2 error)

func (*FakeUser) ByExternalID

func (fake *FakeUser) ByExternalID(arg1 context.Context, arg2 db.DBTX, arg3 string, arg4 ...db.UserSelectConfigOption) (*db.User, error)

func (*FakeUser) ByExternalIDArgsForCall

func (fake *FakeUser) ByExternalIDArgsForCall(i int) (context.Context, db.DBTX, string, []db.UserSelectConfigOption)

func (*FakeUser) ByExternalIDCallCount

func (fake *FakeUser) ByExternalIDCallCount() int

func (*FakeUser) ByExternalIDCalls

func (fake *FakeUser) ByExternalIDCalls(stub func(context.Context, db.DBTX, string, ...db.UserSelectConfigOption) (*db.User, error))

func (*FakeUser) ByExternalIDReturns

func (fake *FakeUser) ByExternalIDReturns(result1 *db.User, result2 error)

func (*FakeUser) ByExternalIDReturnsOnCall

func (fake *FakeUser) ByExternalIDReturnsOnCall(i int, result1 *db.User, result2 error)

func (*FakeUser) ByID

func (fake *FakeUser) ByID(arg1 context.Context, arg2 db.DBTX, arg3 db.UserID, arg4 ...db.UserSelectConfigOption) (*db.User, error)

func (*FakeUser) ByIDArgsForCall

func (fake *FakeUser) ByIDArgsForCall(i int) (context.Context, db.DBTX, db.UserID, []db.UserSelectConfigOption)

func (*FakeUser) ByIDCallCount

func (fake *FakeUser) ByIDCallCount() int

func (*FakeUser) ByIDCalls

func (fake *FakeUser) ByIDCalls(stub func(context.Context, db.DBTX, db.UserID, ...db.UserSelectConfigOption) (*db.User, error))

func (*FakeUser) ByIDReturns

func (fake *FakeUser) ByIDReturns(result1 *db.User, result2 error)

func (*FakeUser) ByIDReturnsOnCall

func (fake *FakeUser) ByIDReturnsOnCall(i int, result1 *db.User, result2 error)

func (*FakeUser) ByProject

func (fake *FakeUser) ByProject(arg1 context.Context, arg2 db.DBTX, arg3 db.ProjectID) ([]db.User, error)

func (*FakeUser) ByProjectArgsForCall

func (fake *FakeUser) ByProjectArgsForCall(i int) (context.Context, db.DBTX, db.ProjectID)

func (*FakeUser) ByProjectCallCount

func (fake *FakeUser) ByProjectCallCount() int

func (*FakeUser) ByProjectCalls

func (fake *FakeUser) ByProjectCalls(stub func(context.Context, db.DBTX, db.ProjectID) ([]db.User, error))

func (*FakeUser) ByProjectReturns

func (fake *FakeUser) ByProjectReturns(result1 []db.User, result2 error)

func (*FakeUser) ByProjectReturnsOnCall

func (fake *FakeUser) ByProjectReturnsOnCall(i int, result1 []db.User, result2 error)

func (*FakeUser) ByTeam

func (fake *FakeUser) ByTeam(arg1 context.Context, arg2 db.DBTX, arg3 db.TeamID) ([]db.User, error)

func (*FakeUser) ByTeamArgsForCall

func (fake *FakeUser) ByTeamArgsForCall(i int) (context.Context, db.DBTX, db.TeamID)

func (*FakeUser) ByTeamCallCount

func (fake *FakeUser) ByTeamCallCount() int

func (*FakeUser) ByTeamCalls

func (fake *FakeUser) ByTeamCalls(stub func(context.Context, db.DBTX, db.TeamID) ([]db.User, error))

func (*FakeUser) ByTeamReturns

func (fake *FakeUser) ByTeamReturns(result1 []db.User, result2 error)

func (*FakeUser) ByTeamReturnsOnCall

func (fake *FakeUser) ByTeamReturnsOnCall(i int, result1 []db.User, result2 error)

func (*FakeUser) ByUsername

func (fake *FakeUser) ByUsername(arg1 context.Context, arg2 db.DBTX, arg3 string, arg4 ...db.UserSelectConfigOption) (*db.User, error)

func (*FakeUser) ByUsernameArgsForCall

func (fake *FakeUser) ByUsernameArgsForCall(i int) (context.Context, db.DBTX, string, []db.UserSelectConfigOption)

func (*FakeUser) ByUsernameCallCount

func (fake *FakeUser) ByUsernameCallCount() int

func (*FakeUser) ByUsernameCalls

func (fake *FakeUser) ByUsernameCalls(stub func(context.Context, db.DBTX, string, ...db.UserSelectConfigOption) (*db.User, error))

func (*FakeUser) ByUsernameReturns

func (fake *FakeUser) ByUsernameReturns(result1 *db.User, result2 error)

func (*FakeUser) ByUsernameReturnsOnCall

func (fake *FakeUser) ByUsernameReturnsOnCall(i int, result1 *db.User, result2 error)

func (*FakeUser) Create

func (fake *FakeUser) Create(arg1 context.Context, arg2 db.DBTX, arg3 *db.UserCreateParams) (*db.User, error)

func (*FakeUser) CreateAPIKey

func (fake *FakeUser) CreateAPIKey(arg1 context.Context, arg2 db.DBTX, arg3 *db.User) (*db.UserAPIKey, error)

func (*FakeUser) CreateAPIKeyArgsForCall

func (fake *FakeUser) CreateAPIKeyArgsForCall(i int) (context.Context, db.DBTX, *db.User)

func (*FakeUser) CreateAPIKeyCallCount

func (fake *FakeUser) CreateAPIKeyCallCount() int

func (*FakeUser) CreateAPIKeyCalls

func (fake *FakeUser) CreateAPIKeyCalls(stub func(context.Context, db.DBTX, *db.User) (*db.UserAPIKey, error))

func (*FakeUser) CreateAPIKeyReturns

func (fake *FakeUser) CreateAPIKeyReturns(result1 *db.UserAPIKey, result2 error)

func (*FakeUser) CreateAPIKeyReturnsOnCall

func (fake *FakeUser) CreateAPIKeyReturnsOnCall(i int, result1 *db.UserAPIKey, result2 error)

func (*FakeUser) CreateArgsForCall

func (fake *FakeUser) CreateArgsForCall(i int) (context.Context, db.DBTX, *db.UserCreateParams)

func (*FakeUser) CreateCallCount

func (fake *FakeUser) CreateCallCount() int

func (*FakeUser) CreateCalls

func (fake *FakeUser) CreateCalls(stub func(context.Context, db.DBTX, *db.UserCreateParams) (*db.User, error))

func (*FakeUser) CreateReturns

func (fake *FakeUser) CreateReturns(result1 *db.User, result2 error)

func (*FakeUser) CreateReturnsOnCall

func (fake *FakeUser) CreateReturnsOnCall(i int, result1 *db.User, result2 error)

func (*FakeUser) Delete

func (fake *FakeUser) Delete(arg1 context.Context, arg2 db.DBTX, arg3 db.UserID) (*db.User, error)

func (*FakeUser) DeleteAPIKey

func (fake *FakeUser) DeleteAPIKey(arg1 context.Context, arg2 db.DBTX, arg3 string) (*db.UserAPIKey, error)

func (*FakeUser) DeleteAPIKeyArgsForCall

func (fake *FakeUser) DeleteAPIKeyArgsForCall(i int) (context.Context, db.DBTX, string)

func (*FakeUser) DeleteAPIKeyCallCount

func (fake *FakeUser) DeleteAPIKeyCallCount() int

func (*FakeUser) DeleteAPIKeyCalls

func (fake *FakeUser) DeleteAPIKeyCalls(stub func(context.Context, db.DBTX, string) (*db.UserAPIKey, error))

func (*FakeUser) DeleteAPIKeyReturns

func (fake *FakeUser) DeleteAPIKeyReturns(result1 *db.UserAPIKey, result2 error)

func (*FakeUser) DeleteAPIKeyReturnsOnCall

func (fake *FakeUser) DeleteAPIKeyReturnsOnCall(i int, result1 *db.UserAPIKey, result2 error)

func (*FakeUser) DeleteArgsForCall

func (fake *FakeUser) DeleteArgsForCall(i int) (context.Context, db.DBTX, db.UserID)

func (*FakeUser) DeleteCallCount

func (fake *FakeUser) DeleteCallCount() int

func (*FakeUser) DeleteCalls

func (fake *FakeUser) DeleteCalls(stub func(context.Context, db.DBTX, db.UserID) (*db.User, error))

func (*FakeUser) DeleteReturns

func (fake *FakeUser) DeleteReturns(result1 *db.User, result2 error)

func (*FakeUser) DeleteReturnsOnCall

func (fake *FakeUser) DeleteReturnsOnCall(i int, result1 *db.User, result2 error)

func (*FakeUser) Invocations

func (fake *FakeUser) Invocations() map[string][][]interface{}

func (*FakeUser) Update

func (fake *FakeUser) Update(arg1 context.Context, arg2 db.DBTX, arg3 db.UserID, arg4 *db.UserUpdateParams) (*db.User, error)

func (*FakeUser) UpdateArgsForCall

func (fake *FakeUser) UpdateArgsForCall(i int) (context.Context, db.DBTX, db.UserID, *db.UserUpdateParams)

func (*FakeUser) UpdateCallCount

func (fake *FakeUser) UpdateCallCount() int

func (*FakeUser) UpdateCalls

func (fake *FakeUser) UpdateCalls(stub func(context.Context, db.DBTX, db.UserID, *db.UserUpdateParams) (*db.User, error))

func (*FakeUser) UpdateReturns

func (fake *FakeUser) UpdateReturns(result1 *db.User, result2 error)

func (*FakeUser) UpdateReturnsOnCall

func (fake *FakeUser) UpdateReturnsOnCall(i int, result1 *db.User, result2 error)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL