Add unit tests and implement group repository interfaces

Introduces comprehensive unit tests for MessageService covering send, edit, and delete message scenarios. Adds and implements IGroupsRepository, IGroupsReader, and IGroupsWriter interfaces with method stubs in GroupRepository. Updates ChatGroup model with Description and ImageId fields, and registers GroupRepository in DI. Fixes parameter order in SendMessage record.
This commit is contained in:
Artemy
2025-07-06 15:44:45 +07:00
parent 89f14c134f
commit 6062113655
9 changed files with 397 additions and 7 deletions
+3
View File
@@ -4,6 +4,9 @@ public class ChatGroup
{
public Guid Id { get; set; }
public string Name { get; set; }
public string Description { get; set; }
public Guid ImageId { get; set; }
public List<string> InviteCode { get; set; }
public bool IsChannel { get; set; }
public bool IsPrivate { get; set; }