This commit is contained in:
2023-08-14 00:17:42 +07:00
parent 6ce7cee5bc
commit fd88563096
5 changed files with 47 additions and 16 deletions
+3 -3
View File
@@ -48,10 +48,10 @@ func (mr *MockIStorageMockRecorder) Close() *gomock.Call {
}
// GetAllUsersByChatID mocks base method.
func (m *MockIStorage) GetAllUsersByChatID(ctx context.Context, chatID string) ([]storage.User, error) {
func (m *MockIStorage) GetAllUsersByChatID(ctx context.Context, chatID string) ([]*storage.User, error) {
m.ctrl.T.Helper()
ret := m.ctrl.Call(m, "GetAllUsersByChatID", ctx, chatID)
ret0, _ := ret[0].([]storage.User)
ret0, _ := ret[0].([]*storage.User)
ret1, _ := ret[1].(error)
return ret0, ret1
}
@@ -63,7 +63,7 @@ func (mr *MockIStorageMockRecorder) GetAllUsersByChatID(ctx, chatID interface{})
}
// UpsertUser mocks base method.
func (m *MockIStorage) UpsertUser(ctx context.Context, user storage.User) error {
func (m *MockIStorage) UpsertUser(ctx context.Context, user *storage.User) error {
m.ctrl.T.Helper()
ret := m.ctrl.Call(m, "UpsertUser", ctx, user)
ret0, _ := ret[0].(error)