From 6aaea0f1869a03279acbb0ace66be31c98a52b74 Mon Sep 17 00:00:00 2001 From: Hamza Albreem <94292623+braim23@users.noreply.github.com> Date: Tue, 7 Mar 2023 17:13:01 +0300 Subject: [PATCH 1/2] tiny fix for the List Service doc --- docs/en/UI/Angular/List-Service.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/en/UI/Angular/List-Service.md b/docs/en/UI/Angular/List-Service.md index 2f0eb9fc57..8df8b945d7 100644 --- a/docs/en/UI/Angular/List-Service.md +++ b/docs/en/UI/Angular/List-Service.md @@ -201,4 +201,4 @@ You may use observables in combination with [AsyncPipe](https://angular.io/guide ``` -ABP doesn't have a built-in filtering mechanism. You need to implement yourself and handle `filter` property in backend. +ABP doesn't have a built-in filtering mechanism. You need to implement it yourself and handle the `filter` property in the backend. From 1402db4e3d6b5e9c81234b892322b7db9dd6dfa6 Mon Sep 17 00:00:00 2001 From: maliming Date: Wed, 8 Mar 2023 16:31:52 +0800 Subject: [PATCH 2/2] Disable dynamic permissions and features in unit test. --- .../MyProjectNameEntityFrameworkCoreTestModule.cs | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/templates/app/aspnet-core/test/MyCompanyName.MyProjectName.EntityFrameworkCore.Tests/EntityFrameworkCore/MyProjectNameEntityFrameworkCoreTestModule.cs b/templates/app/aspnet-core/test/MyCompanyName.MyProjectName.EntityFrameworkCore.Tests/EntityFrameworkCore/MyProjectNameEntityFrameworkCoreTestModule.cs index 846df976e0..a1a28b4e6d 100644 --- a/templates/app/aspnet-core/test/MyCompanyName.MyProjectName.EntityFrameworkCore.Tests/EntityFrameworkCore/MyProjectNameEntityFrameworkCoreTestModule.cs +++ b/templates/app/aspnet-core/test/MyCompanyName.MyProjectName.EntityFrameworkCore.Tests/EntityFrameworkCore/MyProjectNameEntityFrameworkCoreTestModule.cs @@ -6,7 +6,9 @@ using Microsoft.Extensions.DependencyInjection; using Volo.Abp; using Volo.Abp.EntityFrameworkCore; using Volo.Abp.EntityFrameworkCore.Sqlite; +using Volo.Abp.FeatureManagement; using Volo.Abp.Modularity; +using Volo.Abp.PermissionManagement; using Volo.Abp.Uow; namespace MyCompanyName.MyProjectName.EntityFrameworkCore; @@ -22,7 +24,18 @@ public class MyProjectNameEntityFrameworkCoreTestModule : AbpModule public override void ConfigureServices(ServiceConfigurationContext context) { + Configure(options => + { + options.SaveStaticFeaturesToDatabase = false; + options.IsDynamicFeatureStoreEnabled = false; + }); + Configure(options => + { + options.SaveStaticPermissionsToDatabase = false; + options.IsDynamicPermissionStoreEnabled = false; + }); context.Services.AddAlwaysDisableUnitOfWorkTransaction(); + ConfigureInMemorySqlite(context.Services); }