Chore: Add NewAnonymousSignedInUser to user service (#57537)

This commit is contained in:
Todd Treece
2022-11-03 14:03:29 +01:00
committed by GitHub
parent 8fe02612b6
commit d45fe6e25c
4 changed files with 67 additions and 0 deletions
+4
View File
@@ -74,6 +74,10 @@ func (f *FakeUserService) GetSignedInUser(ctx context.Context, query *user.GetSi
return f.ExpectedSignedInUser, f.ExpectedError
}
func (f *FakeUserService) NewAnonymousSignedInUser(ctx context.Context) (*user.SignedInUser, error) {
return f.ExpectedSignedInUser, f.ExpectedError
}
func (f *FakeUserService) Search(ctx context.Context, query *user.SearchUsersQuery) (*user.SearchUserQueryResult, error) {
return &f.ExpectedSearchUsers, f.ExpectedError
}