Browse Source
Merge pull request #18244 from abpframework/mongodb-patch
Change the EF Core to Mongodb in `MyCompanyName.MyProjectName.Web.Tests` project.
pull/18250/head
Engincan VESKE
3 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
18 additions and
2 deletions
-
framework/src/Volo.Abp.Cli.Core/Volo/Abp/Cli/ProjectBuilding/Templates/App/AppTemplateSwitchEntityFrameworkCoreToMongoDbStep.cs
|
|
@ -194,6 +194,22 @@ public class AppTemplateSwitchEntityFrameworkCoreToMongoDbStep : ProjectBuildPip |
|
|
"MyProjectNameMongoDbCollectionFixtureBase" |
|
|
"MyProjectNameMongoDbCollectionFixtureBase" |
|
|
); |
|
|
); |
|
|
|
|
|
|
|
|
|
|
|
ChangeNamespaceAndKeyword( |
|
|
|
|
|
context, |
|
|
|
|
|
"/aspnet-core/test/MyCompanyName.MyProjectName.Web.Tests/MyProjectNameWebTestModule.cs", |
|
|
|
|
|
"MyCompanyName.MyProjectName.EntityFrameworkCore", |
|
|
|
|
|
"MyCompanyName.MyProjectName.MongoDB", |
|
|
|
|
|
"MyProjectNameEntityFrameworkCoreTestModule", |
|
|
|
|
|
"MyProjectNameMongoDbTestModule" |
|
|
|
|
|
); |
|
|
|
|
|
|
|
|
|
|
|
ChangeProjectReference( |
|
|
|
|
|
context, |
|
|
|
|
|
"/aspnet-core/test/MyCompanyName.MyProjectName.Web.Tests/MyCompanyName.MyProjectName.Web.Tests.csproj", |
|
|
|
|
|
"EntityFrameworkCore", |
|
|
|
|
|
"MongoDB" |
|
|
|
|
|
); |
|
|
|
|
|
|
|
|
// TODO: remove this method after published 6.0.0
|
|
|
// TODO: remove this method after published 6.0.0
|
|
|
ProvideIdentityServerBackwardCompatibility(context); |
|
|
ProvideIdentityServerBackwardCompatibility(context); |
|
|
|
|
|
|
|
|
|