Added English localization integration tests.
This commit is contained in:
@@ -1,4 +1,5 @@
|
||||
using JSMR.Domain.Entities;
|
||||
using JSMR.Application.Scanning.Ports;
|
||||
using JSMR.Domain.Entities;
|
||||
|
||||
namespace JSMR.Infrastructure.Ingestion;
|
||||
|
||||
@@ -12,29 +13,29 @@ public record VoiceWorkUpsertContext(
|
||||
Dictionary<string, VoiceWorkUpsertResult> Results
|
||||
);
|
||||
|
||||
public class VoiceWorkUpsertResult
|
||||
{
|
||||
public int? VoiceWorkId { get; set; }
|
||||
public ICollection<VoiceWorkUpsertIssue> Issues { get; } = [];
|
||||
public VoiceWorkUpsertStatus Status { get; set; } = VoiceWorkUpsertStatus.Unchanged;
|
||||
}
|
||||
//public class VoiceWorkUpsertResult
|
||||
//{
|
||||
// public int? VoiceWorkId { get; set; }
|
||||
// public ICollection<VoiceWorkUpsertIssue> Issues { get; } = [];
|
||||
// public VoiceWorkUpsertStatus Status { get; set; } = VoiceWorkUpsertStatus.Unchanged;
|
||||
//}
|
||||
|
||||
public record VoiceWorkUpsertIssue(
|
||||
string Message,
|
||||
VoiceWorkUpsertIssueSeverity Severity
|
||||
);
|
||||
//public record VoiceWorkUpsertIssue(
|
||||
// string Message,
|
||||
// VoiceWorkUpsertIssueSeverity Severity
|
||||
//);
|
||||
|
||||
public enum VoiceWorkUpsertIssueSeverity
|
||||
{
|
||||
Information,
|
||||
Warning,
|
||||
Error
|
||||
}
|
||||
//public enum VoiceWorkUpsertIssueSeverity
|
||||
//{
|
||||
// Information,
|
||||
// Warning,
|
||||
// Error
|
||||
//}
|
||||
|
||||
public enum VoiceWorkUpsertStatus
|
||||
{
|
||||
Unchanged,
|
||||
Inserted,
|
||||
Updated,
|
||||
Skipped
|
||||
}
|
||||
//public enum VoiceWorkUpsertStatus
|
||||
//{
|
||||
// Unchanged,
|
||||
// Inserted,
|
||||
// Updated,
|
||||
// Skipped
|
||||
//}
|
||||
Reference in New Issue
Block a user