Browse Source

Fix tests

pull/1296/head
Sebastian Stehle 3 months ago
parent
commit
a739c14dc0
  1. 2
      backend/tests/Squidex.Domain.Apps.Entities.Tests/Schemas/DomainObject/Guards/GuardSchemaTests.cs

2
backend/tests/Squidex.Domain.Apps.Entities.Tests/Schemas/DomainObject/Guards/GuardSchemaTests.cs

@ -669,7 +669,7 @@ public class GuardSchemaTests : GivenContext, IClassFixture<TranslationsFixture>
};
ValidationAssert.Throws(() => GuardSchema.CanUpdateSchema(command),
new ValidationError("Size must be between 1 and 3.", "Properties.SearchFields"));
new ValidationError("Size must be between 1 and 4.", "Properties.SearchFields"));
}
private CreateSchema CreateCommand(CreateSchema command)

Loading…
Cancel
Save