From 37db7a2367a12f874dbbc44faff718e8a14a23b6 Mon Sep 17 00:00:00 2001 From: Pavel Krymets Date: Wed, 14 Feb 2018 10:38:32 -0800 Subject: [PATCH] Enable KeyVault hosting startup (#149) --- .../applicationHost.xdt | 2 +- .../TransformTest.cs | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/extensions/Microsoft.AspNetCore.AzureAppServices.SiteExtension/applicationHost.xdt b/extensions/Microsoft.AspNetCore.AzureAppServices.SiteExtension/applicationHost.xdt index 8f15eb0ae5..c1fc50511f 100644 --- a/extensions/Microsoft.AspNetCore.AzureAppServices.SiteExtension/applicationHost.xdt +++ b/extensions/Microsoft.AspNetCore.AzureAppServices.SiteExtension/applicationHost.xdt @@ -9,7 +9,7 @@ - + diff --git a/test/Microsoft.AspNetCore.AzureAppServices.SiteExtension.Tests/TransformTest.cs b/test/Microsoft.AspNetCore.AzureAppServices.SiteExtension.Tests/TransformTest.cs index eb9f81d28b..7e1d0b47aa 100644 --- a/test/Microsoft.AspNetCore.AzureAppServices.SiteExtension.Tests/TransformTest.cs +++ b/test/Microsoft.AspNetCore.AzureAppServices.SiteExtension.Tests/TransformTest.cs @@ -44,7 +44,7 @@ namespace Microsoft.AspNetCore.AzureAppServices.SiteExtension var startupAssembliesElement = sharedStoreElement.NextSibling; Assert.Equal("add", startupAssembliesElement.Name); Assert.Equal("ASPNETCORE_HOSTINGSTARTUPASSEMBLIES", startupAssembliesElement.Attributes["name"].Value); - Assert.Equal("Microsoft.AspNetCore.AzureAppServices.HostingStartup", startupAssembliesElement.Attributes["value"].Value); + Assert.Equal("Microsoft.AspNetCore.AzureAppServices.HostingStartup;Microsoft.AspNetCore.AzureKeyVault.HostingStartup", startupAssembliesElement.Attributes["value"].Value); } [Fact] @@ -76,7 +76,7 @@ namespace Microsoft.AspNetCore.AzureAppServices.SiteExtension var startupAssembliesElement = sharedStoreElement.NextSibling; Assert.Equal("add", startupAssembliesElement.Name); Assert.Equal("ASPNETCORE_HOSTINGSTARTUPASSEMBLIES", startupAssembliesElement.Attributes["name"].Value); - Assert.Equal("ExistingValue2;Microsoft.AspNetCore.AzureAppServices.HostingStartup", startupAssembliesElement.Attributes["value"].Value); + Assert.Equal("ExistingValue2;Microsoft.AspNetCore.AzureAppServices.HostingStartup;Microsoft.AspNetCore.AzureKeyVault.HostingStartup", startupAssembliesElement.Attributes["value"].Value); } private static XmlDocument LoadDocAndRunTransform(string docName)