Update `StringValueJsonConverter_Tests`.

pull/13357/head
maliming 3 years ago
parent 780bb1a043
commit 4c6eaf8e89
No known key found for this signature in database
GPG Key ID: 096224957E51C89E

@ -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>();
});
}
}

@ -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