Update bindings test to respect require_sni

This commit is contained in:
Jimmy Campbell 2017-01-18 15:44:21 -08:00
Родитель 08cc041de0
Коммит 61505811d5
1 изменённых файлов: 6 добавлений и 3 удалений

Просмотреть файл

@ -199,10 +199,13 @@ namespace Microsoft.IIS.Administration.Tests
[Fact]
public void BindingTypes()
{
string[] httpProperties = new string[] { "ip_address", "port", "hostname", "protocol", "binding_information" };
string[] httpsProperties = new string[] { "ip_address", "port", "hostname", "protocol", "binding_information", "certificate" };
string[] othersProperties = new string[] { "protocol", "binding_information" };
IEnumerable<string> httpProperties = new string[] { "ip_address", "port", "hostname", "protocol", "binding_information" };
List<string> httpsProperties = new List<string> { "ip_address", "port", "hostname", "protocol", "binding_information", "certificate" };
IEnumerable<string> othersProperties = new string[] { "protocol", "binding_information" };
if (Utils.OsVersion >= new Version(6, 2)) {
httpsProperties.Add("require_sni");
}
using (HttpClient client = ApiHttpClient.Create()) {