12 lines
378 B
C#
12 lines
378 B
C#
using Xunit;
|
|
namespace Kbx.Tests.Providers;
|
|
public sealed class KrxProviderPolicyTests
|
|
{
|
|
[Fact] public void Approved_service_must_stay_inside_krx_https_domain()
|
|
{
|
|
var ok = new Uri("https://sample.krx.co.kr/service");
|
|
Assert.Equal(Uri.UriSchemeHttps, ok.Scheme);
|
|
Assert.EndsWith(".krx.co.kr", ok.Host, StringComparison.OrdinalIgnoreCase);
|
|
}
|
|
}
|