Avd6977
8 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/NumberFieldTests.cs
|
|
|
@ -56,7 +56,7 @@ namespace Squidex.Domain.Apps.Core.Operations.ValidateContent |
|
|
|
await sut.ValidateAsync(CreateValue(5), errors); |
|
|
|
|
|
|
|
errors.Should().BeEquivalentTo( |
|
|
|
new[] { "Must be greater or equals than '10'." }); |
|
|
|
new[] { "Must be greater than or equal to '10'." }); |
|
|
|
} |
|
|
|
|
|
|
|
[Fact] |
|
|
|
@ -67,7 +67,7 @@ namespace Squidex.Domain.Apps.Core.Operations.ValidateContent |
|
|
|
await sut.ValidateAsync(CreateValue(20), errors); |
|
|
|
|
|
|
|
errors.Should().BeEquivalentTo( |
|
|
|
new[] { "Must be less or equals than '10'." }); |
|
|
|
new[] { "Must be less than or equal to '10'." }); |
|
|
|
} |
|
|
|
|
|
|
|
[Fact] |
|
|
|
|