mirror of https://github.com/Squidex/squidex.git
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
28 lines
767 B
28 lines
767 B
// ==========================================================================
|
|
// SchemaFixture.cs
|
|
// Squidex Headless CMS
|
|
// ==========================================================================
|
|
// Copyright (c) Squidex Group
|
|
// All rights reserved.
|
|
// ==========================================================================
|
|
|
|
using System.Reflection;
|
|
using Squidex.Core.Schemas;
|
|
using Squidex.Infrastructure;
|
|
using Xunit;
|
|
|
|
namespace Squidex.Write.Tests.Utils
|
|
{
|
|
public class SchemaFixture
|
|
{
|
|
public SchemaFixture()
|
|
{
|
|
TypeNameRegistry.Map(typeof(Schema).GetTypeInfo().Assembly);
|
|
}
|
|
}
|
|
|
|
[CollectionDefinition("Schema")]
|
|
public class DatabaseCollection : ICollectionFixture<SchemaFixture>
|
|
{
|
|
}
|
|
}
|
|
|