mirror of
https://github.com/Govor-team/Govor.git
synced 2026-11-18 05:15:06 +00:00
Expand server tests and enforce coverage
Consolidate server tests under tests/, upgrade them to .NET 10, and add CI coverage thresholds and reports. Expand API and application boundary coverage while fixing related issues in media handling, friend blocking, session crypto, presence, username validation, and local storage.
This commit is contained in:
@@ -13,8 +13,7 @@ public class MediaUploadRequest
|
||||
public MediaType Type { get; set; }
|
||||
[Required, MaxLength(255)]
|
||||
public string MimeType { get; set; } = string.Empty;
|
||||
[Required]
|
||||
public string EncryptedKey { get; set; } = string.Empty;
|
||||
public string? EncryptedKey { get; set; } = string.Empty;
|
||||
[Required]
|
||||
public MediaOwnerType OwnerType { get; set; } = MediaOwnerType.Message;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user