Implements tests for commit c27621818c

This commit is contained in:
BinaryAlley committed 2026-10-27 22:35:33 +02:00
1 parent 54b468855a
commit d8adf3c1b6
22 files changed
+7664

No files matched your search

@@ -80,6 +80,7 @@ public class StartConsumptionCommandValidatorTests
[InlineData(" ")] // the media kind is whitespace only
[InlineData("Hologram")] // the media kind is not a member of the enumeration
[InlineData("0")] // the media kind is a numeric route value, which the validator rejects by name
[InlineData("1")] // a numeric route value that parses to the defined MusicTrack member, which the old Enum.TryParse and Enum.IsDefined logic accepted
public void Validate_WhenMediaKindIsEmptyOrUnsupported_ShouldHaveValidationError(string mediaKind)
{
// Arrange