Port more tests to IIS (#1518)

This commit is contained in:
Pavel Krymets 2018-10-15 14:45:30 -07:00 committed by GitHub
parent 24e2e5ad52
commit 03084f8937
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 1 additions and 11 deletions

View File

@ -33,18 +33,8 @@ namespace Microsoft.AspNetCore.Server.IISIntegration.FunctionalTests
public async Task GlobalVersion_DefaultWorks()
{
var deploymentParameters = GetGlobalVersionBaseDeploymentParameters();
deploymentParameters.PublishApplicationBeforeDeployment = false;
deploymentParameters.AddServerConfigAction(
element =>
{
var handlerVersionElement = new XElement("handlerSetting");
handlerVersionElement.SetAttributeValue("name", "handlerVersion");
handlerVersionElement.SetAttributeValue("value", _handlerVersion20);
element.Descendants("aspNetCore").Single()
.Add(new XElement("handlerSettings", handlerVersionElement));
});
deploymentParameters.HandlerSettings["handlerVersion"] = _handlerVersion20;
var deploymentResult = await DeployAsync(deploymentParameters);