Browse Source

Update RangeValidatorTests.cs

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

4
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);
errors.Should().BeEquivalentTo(
new[] { "Must be greater or equals than '2000'." });
new[] { "Must be greater than or equal to '2000'." });
}
[Fact]
@ -69,7 +69,7 @@ namespace Squidex.Domain.Apps.Core.Operations.ValidateContent.Validators
await sut.ValidateAsync(1500, errors);
errors.Should().BeEquivalentTo(
new[] { "Must be less or equals than '1000'." });
new[] { "Must be less than or equal to '1000'." });
}
}
}

Loading…
Cancel
Save