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.
31 lines
1021 B
31 lines
1021 B
// ==========================================================================
|
|
// Squidex Headless CMS
|
|
// ==========================================================================
|
|
// Copyright (c) Squidex UG (haftungsbeschraenkt)
|
|
// All rights reserved. Licensed under the MIT license.
|
|
// ==========================================================================
|
|
|
|
using Xunit;
|
|
|
|
#pragma warning disable SA1300 // Element should begin with upper-case letter
|
|
|
|
namespace Squidex.Infrastructure.EventSourcing
|
|
{
|
|
[Trait("Category", "Dependencies")]
|
|
public class MongoEventStoreTests : EventStoreTests<MongoEventStore>, IClassFixture<MongoEventStoreFixture>
|
|
{
|
|
public MongoEventStoreFixture _ { get; }
|
|
|
|
protected override int SubscriptionDelayInMs { get; } = 1000;
|
|
|
|
public MongoEventStoreTests(MongoEventStoreFixture fixture)
|
|
{
|
|
_ = fixture;
|
|
}
|
|
|
|
public override MongoEventStore CreateStore()
|
|
{
|
|
return _.EventStore;
|
|
}
|
|
}
|
|
}
|
|
|