mirror of https://github.com/EasyAbp/EShop.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.
22 lines
592 B
22 lines
592 B
using System;
|
|
using Volo.Abp;
|
|
using Volo.Abp.Data;
|
|
using Volo.Abp.Modularity;
|
|
|
|
namespace EasyAbp.EShop.Orders.MongoDB
|
|
{
|
|
[DependsOn(
|
|
typeof(EShopOrdersTestBaseModule),
|
|
typeof(EShopOrdersMongoDbModule)
|
|
)]
|
|
public class EShopOrdersMongoDbTestModule : AbpModule
|
|
{
|
|
public override void ConfigureServices(ServiceConfigurationContext context)
|
|
{
|
|
Configure<AbpDbConnectionOptions>(options =>
|
|
{
|
|
options.ConnectionStrings.Default = MongoDbFixture.GetRandomConnectionString();
|
|
});
|
|
}
|
|
}
|
|
}
|