Browse Source

Small improvements to tests.

pull/634/head
Sebastian 5 years ago
parent
commit
ec0e112c9e
  1. 2
      backend/tests/Squidex.Domain.Apps.Entities.Tests/Contents/DomainObject/Guards/GuardContentTests.cs

2
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>(T command) where T : ContentCommand

Loading…
Cancel
Save