mirror of https://github.com/abpframework/abp
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
506 B
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);
|
|
}
|
|
}
|