Browse Source

Update NumberFieldTests.cs

pull/318/head
Avd6977 8 years ago
committed by GitHub
parent
commit
46dded8448
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 4
      tests/Squidex.Domain.Apps.Core.Tests/Operations/ValidateContent/NumberFieldTests.cs

4
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]

Loading…
Cancel
Save