mirror of https://github.com/abpframework/abp.git
csharpabpc-sharpframeworkblazoraspnet-coredotnet-coreaspnetcorearchitecturesaasdomain-driven-designangularmulti-tenancy
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.
21 lines
779 B
21 lines
779 B
using Microsoft.Extensions.Options;
|
|
using Shouldly;
|
|
using Volo.Abp.Settings;
|
|
using Xunit;
|
|
|
|
namespace Volo.Abp.MultiTenancy;
|
|
|
|
public class TenantSettingValueProvider_Tests : MultiTenancyTestBase
|
|
{
|
|
[Fact]
|
|
public void TenantSettingValueProvider_Should_Add_Correction()
|
|
{
|
|
var options = GetRequiredService<IOptions<AbpSettingOptions>>().Value;
|
|
|
|
options.ValueProviders[0].ShouldBe(typeof(DefaultValueSettingValueProvider));
|
|
options.ValueProviders[1].ShouldBe(typeof(ConfigurationSettingValueProvider));
|
|
options.ValueProviders[2].ShouldBe(typeof(GlobalSettingValueProvider));
|
|
options.ValueProviders[3].ShouldBe(typeof(TenantSettingValueProvider));
|
|
options.ValueProviders[4].ShouldBe(typeof(UserSettingValueProvider));
|
|
}
|
|
}
|
|
|