From ec0e112c9ecd38f96f3de03d759d2e7d82e65d15 Mon Sep 17 00:00:00 2001 From: Sebastian Date: Sun, 31 Jan 2021 21:10:28 +0100 Subject: [PATCH] Small improvements to tests. --- .../Contents/DomainObject/Guards/GuardContentTests.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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