test(chat): add create chat rollback test
This commit is contained in:
@@ -77,6 +77,9 @@ func (s *ChatService) Create(
|
||||
ID: id,
|
||||
Title: title,
|
||||
})
|
||||
if err != nil {
|
||||
return model.Chat{}, err
|
||||
}
|
||||
|
||||
err = q.AddChatMembers(ctx, db.AddChatMembersParams{
|
||||
ChatID: row.ID,
|
||||
|
||||
Reference in New Issue
Block a user