Enhance code readability and maintainability by refactoring various components. Update formatting commands in CLAUDE.md for csharpier integration. Simplify method signatures in SegmentFiles, UploadLimits, and multiple endpoint classes for improved clarity. Adjust query handlers and command handlers to streamline parameter handling and enhance consistency across the application.
This commit is contained in:
@@ -16,7 +16,9 @@ public class ImportManualInboxValidatorTests
|
||||
[InlineData(null, null)] // номера не заданы — сервер разберёт имя сам
|
||||
public void AllowsRealWorldNumbers(int? season, int? episode)
|
||||
{
|
||||
Assert.True(new ImportManualInboxCommandValidator().Validate(Command(season, episode)).IsValid);
|
||||
Assert.True(
|
||||
new ImportManualInboxCommandValidator().Validate(Command(season, episode)).IsValid
|
||||
);
|
||||
}
|
||||
|
||||
[Theory]
|
||||
@@ -26,7 +28,9 @@ public class ImportManualInboxValidatorTests
|
||||
[InlineData(1, 1000)]
|
||||
public void RejectsOutOfRange(int? season, int? episode)
|
||||
{
|
||||
Assert.False(new ImportManualInboxCommandValidator().Validate(Command(season, episode)).IsValid);
|
||||
Assert.False(
|
||||
new ImportManualInboxCommandValidator().Validate(Command(season, episode)).IsValid
|
||||
);
|
||||
}
|
||||
|
||||
[Fact]
|
||||
|
||||
Reference in New Issue
Block a user