diff --git a/test/E2ETests/SmokeTestsOnNanoServer.cs b/test/E2ETests/SmokeTestsOnNanoServer.cs index 312c733ab8..20221f2c10 100644 --- a/test/E2ETests/SmokeTestsOnNanoServer.cs +++ b/test/E2ETests/SmokeTestsOnNanoServer.cs @@ -24,6 +24,7 @@ namespace E2ETests var configuration = new ConfigurationBuilder() .SetBasePath(Directory.GetCurrentDirectory()) .AddJsonFile("remoteDeploymentConfig.json") + .AddUserSecrets() .AddEnvironmentVariables() .Build(); @@ -57,11 +58,11 @@ namespace E2ETests _remoteDeploymentConfig.FileSharePath, _remoteDeploymentConfig.ServerName, _remoteDeploymentConfig.AccountName, - _remoteDeploymentConfig.AccountPassword, - _remoteDeploymentConfig.ExecutableRelativePath) + _remoteDeploymentConfig.AccountPassword) { TargetFramework = "netcoreapp1.0", - ApplicationBaseUriHint = applicationBaseUrl + ApplicationBaseUriHint = applicationBaseUrl, + ApplicationType = applicationType }; deploymentParameters.EnvironmentVariables.Add( new KeyValuePair("ASPNETCORE_ENVIRONMENT", "SocialTesting")); diff --git a/test/E2ETests/project.json b/test/E2ETests/project.json index 7375bde1de..8630937d7d 100644 --- a/test/E2ETests/project.json +++ b/test/E2ETests/project.json @@ -17,6 +17,7 @@ "Microsoft.Extensions.Configuration.Binder": "1.0.0-*", "Microsoft.Extensions.Configuration.EnvironmentVariables": "1.0.0-*", "Microsoft.Extensions.Configuration.Json": "1.0.0-*", + "Microsoft.Extensions.Configuration.UserSecrets": "1.0.0-*", "Microsoft.Extensions.Logging": "1.0.0-*", "Microsoft.Extensions.Logging.Console": "1.0.0-*", "xunit": "2.1.0" @@ -37,5 +38,12 @@ ] } }, - "testRunner": "xunit" + "tools": { + "Microsoft.Extensions.SecretManager.Tools": { + "version": "1.0.0-*", + "imports": "portable-net451+win8" + } + }, + "testRunner": "xunit", + "userSecretsId": "MusicStore.E2ETests" } \ No newline at end of file