mirror of
https://github.com/BinaryAlley/Nemera.git
synced 2026-12-03 16:11:10 +00:00
Implements tests for commit c27621818c
This commit is contained in:
1 parent
54b468855a
commit
d8adf3c1b6
22 files changed
+7664
No files matched your search
+1
@@ -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
|
||||
|
||||
Reference in new issue
Block a user