Browse Source
Update language
Updating language for multiple files to be "than or equal to" instead of "or equals than"
pull/318/head
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/DateTimeFieldTests.cs
|
|
@ -57,7 +57,7 @@ namespace Squidex.Domain.Apps.Core.Operations.ValidateContent |
|
|
await sut.ValidateAsync(CreateValue(FutureDays(0)), errors); |
|
|
await sut.ValidateAsync(CreateValue(FutureDays(0)), errors); |
|
|
|
|
|
|
|
|
errors.Should().BeEquivalentTo( |
|
|
errors.Should().BeEquivalentTo( |
|
|
new[] { $"Must be greater or equals than '{FutureDays(10)}'." }); |
|
|
new[] { $"Must be greater than or equal to '{FutureDays(10)}'." }); |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
[Fact] |
|
|
[Fact] |
|
|
@ -68,7 +68,7 @@ namespace Squidex.Domain.Apps.Core.Operations.ValidateContent |
|
|
await sut.ValidateAsync(CreateValue(FutureDays(20)), errors); |
|
|
await sut.ValidateAsync(CreateValue(FutureDays(20)), errors); |
|
|
|
|
|
|
|
|
errors.Should().BeEquivalentTo( |
|
|
errors.Should().BeEquivalentTo( |
|
|
new[] { $"Must be less or equals than '{FutureDays(10)}'." }); |
|
|
new[] { $"Must be less than or equal to '{FutureDays(10)}'." }); |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
[Fact] |
|
|
[Fact] |
|
|
|