diff --git a/backend/tests/Squidex.Domain.Apps.Entities.Tests/Contents/DomainObject/Guards/GuardContentTests.cs b/backend/tests/Squidex.Domain.Apps.Entities.Tests/Contents/DomainObject/Guards/GuardContentTests.cs index e2c81b349..dca7ecf91 100644 --- a/backend/tests/Squidex.Domain.Apps.Entities.Tests/Contents/DomainObject/Guards/GuardContentTests.cs +++ b/backend/tests/Squidex.Domain.Apps.Entities.Tests/Contents/DomainObject/Guards/GuardContentTests.cs @@ -368,7 +368,7 @@ namespace Squidex.Domain.Apps.Entities.Contents.DomainObject.Guards private ISchemaEntity CreateSchema(bool isSingleton) { - return Mocks.Schema(appId, NamedId.Of(DomainId.NewGuid(), "my-schema"), new Schema("schema", isSingleton: isSingleton)); + return Mocks.Schema(appId, schemaId, new Schema(schemaId.Name, isSingleton: isSingleton)); } private T CreateCommand(T command) where T : ContentCommand