Browse Source

Update `StringValueJsonConverter_Tests`.

pull/13357/head
maliming 4 years ago
parent
commit
4c6eaf8e89
No known key found for this signature in database GPG Key ID: 96224957E51C89E
  1. 3
      modules/feature-management/test/Volo.Abp.FeatureManagement.Application.Tests/Volo/Abp/FeatureManagement/NewtonsoftStringValueJsonConverter_Tests.cs
  2. 3
      modules/feature-management/test/Volo.Abp.FeatureManagement.Application.Tests/Volo/Abp/FeatureManagement/SystemTextJsonStringValueJsonConverter_Tests.cs

3
modules/feature-management/test/Volo.Abp.FeatureManagement.Application.Tests/Volo/Abp/FeatureManagement/NewtonsoftStringValueJsonConverter_Tests.cs

@ -1,5 +1,6 @@
using Microsoft.Extensions.DependencyInjection;
using Volo.Abp.Json;
using Volo.Abp.Json.SystemTextJson;
namespace Volo.Abp.FeatureManagement;
@ -9,7 +10,7 @@ public class NewtonsoftStringValueJsonConverter_Tests : StringValueJsonConverter
{
services.PreConfigure<AbpJsonOptions>(options =>
{
options.UseHybridSerializer = false;
options.Providers.Remove<AbpSystemTextJsonSerializerProvider>();
});
}
}

3
modules/feature-management/test/Volo.Abp.FeatureManagement.Application.Tests/Volo/Abp/FeatureManagement/SystemTextJsonStringValueJsonConverter_Tests.cs

@ -1,5 +1,6 @@
using Microsoft.Extensions.DependencyInjection;
using Volo.Abp.Json;
using Volo.Abp.Json.Newtonsoft;
namespace Volo.Abp.FeatureManagement;
@ -9,7 +10,7 @@ public class SystemTextJsonStringValueJsonConverter_Tests : StringValueJsonConve
{
services.PreConfigure<AbpJsonOptions>(options =>
{
options.UseHybridSerializer = true;
options.Providers.Remove<AbpNewtonsoftJsonSerializerProvider>();
});
}
}

Loading…
Cancel
Save