Avd6977
7 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
2 additions and
2 deletions
-
tests/Squidex.Domain.Apps.Core.Tests/Operations/ValidateContent/Validators/RangeValidatorTests.cs
|
|
@ -58,7 +58,7 @@ namespace Squidex.Domain.Apps.Core.Operations.ValidateContent.Validators |
|
|
await sut.ValidateAsync(1500, errors); |
|
|
await sut.ValidateAsync(1500, errors); |
|
|
|
|
|
|
|
|
errors.Should().BeEquivalentTo( |
|
|
errors.Should().BeEquivalentTo( |
|
|
new[] { "Must be greater or equals than '2000'." }); |
|
|
new[] { "Must be greater than or equal to '2000'." }); |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
[Fact] |
|
|
[Fact] |
|
|
@ -69,7 +69,7 @@ namespace Squidex.Domain.Apps.Core.Operations.ValidateContent.Validators |
|
|
await sut.ValidateAsync(1500, errors); |
|
|
await sut.ValidateAsync(1500, errors); |
|
|
|
|
|
|
|
|
errors.Should().BeEquivalentTo( |
|
|
errors.Should().BeEquivalentTo( |
|
|
new[] { "Must be less or equals than '1000'." }); |
|
|
new[] { "Must be less than or equal to '1000'." }); |
|
|
} |
|
|
} |
|
|
} |
|
|
} |
|
|
} |
|
|
} |
|
|
|