Browse Source

Update ContentValidationTests.cs

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

4
tests/Squidex.Domain.Apps.Core.Tests/Operations/ValidateContent/ContentValidationTests.cs

@ -59,7 +59,7 @@ namespace Squidex.Domain.Apps.Core.Operations.ValidateContent
errors.Should().BeEquivalentTo(
new List<ValidationError>
{
new ValidationError("my-field: Must be less or equals than '100'.", "my-field")
new ValidationError("my-field: Must be less than or equal to '100'.", "my-field")
});
}
@ -221,7 +221,7 @@ namespace Squidex.Domain.Apps.Core.Operations.ValidateContent
errors.Should().BeEquivalentTo(
new List<ValidationError>
{
new ValidationError("my-field: Must be less or equals than '100'.", "my-field")
new ValidationError("my-field: Must be less than or equal to '100'.", "my-field")
});
}

Loading…
Cancel
Save