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.
abp/modules/tenant-management/test/Volo.Abp.TenantManagement.D.../Volo/Abp/TenantManagement/TenantConnectionString_Test...

22 lines
566 B

using System;
using System.Threading.Tasks;
using Shouldly;
using Xunit;
namespace Volo.Abp.TenantManagement
{
public class TenantConnectionString_Tests
{
[Theory]
[InlineData("aaa")]
[InlineData("bbb")]
public async Task SetValue(string value)
{
var tenantConnectionString =
new TenantConnectionString(Guid.NewGuid(), "MyConnString", "MyConnString-Value");
tenantConnectionString.SetValue(value);
tenantConnectionString.Value.ShouldBe(value);
}
}
}