test(chat): add create chat rollback test

This commit is contained in:
kk10
2026-10-05 23:06:18 +03:00
parent 66808c6c80
commit 81cea31c81
2 changed files with 58 additions and 0 deletions
+3
View File
@@ -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,