22 lines
535 B
C#
22 lines
535 B
C#
using System;
|
|
using Volo.Abp.Data;
|
|
using Volo.Abp.Modularity;
|
|
using Volo.Abp.Uow;
|
|
|
|
namespace JiShe.CollectBus.MongoDB;
|
|
|
|
[DependsOn(
|
|
typeof(CollectBusApplicationTestModule),
|
|
typeof(CollectBusMongoDbModule)
|
|
)]
|
|
public class CollectBusMongoDbTestModule : AbpModule
|
|
{
|
|
public override void ConfigureServices(ServiceConfigurationContext context)
|
|
{
|
|
Configure<AbpDbConnectionOptions>(options =>
|
|
{
|
|
options.ConnectionStrings.Default = MongoDbFixture.GetRandomConnectionString();
|
|
});
|
|
}
|
|
}
|