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

21 lines
506 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 void SetValue(string value)
{
var tenantConnectionString =
new TenantConnectionString(Guid.NewGuid(), "MyConnString", "MyConnString-Value");
tenantConnectionString.SetValue(value);
tenantConnectionString.Value.ShouldBe(value);
}
}