From 85f9e63207d34a150a6c6028b923a878033e467f Mon Sep 17 00:00:00 2001 From: Jass Bagga Date: Fri, 12 May 2017 12:04:20 -0700 Subject: [PATCH] Formatting and clean up (#49) Remove unnecessary usings and use forward slashes --- .../ApplicationInsightsJavaScriptSnippetTest.cs | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/test/Microsoft.AspNetCore.ApplicationInsights.HostingStartup.Tests/ApplicationInsightsJavaScriptSnippetTest.cs b/test/Microsoft.AspNetCore.ApplicationInsights.HostingStartup.Tests/ApplicationInsightsJavaScriptSnippetTest.cs index e73b2667ca..0a4028da39 100644 --- a/test/Microsoft.AspNetCore.ApplicationInsights.HostingStartup.Tests/ApplicationInsightsJavaScriptSnippetTest.cs +++ b/test/Microsoft.AspNetCore.ApplicationInsights.HostingStartup.Tests/ApplicationInsightsJavaScriptSnippetTest.cs @@ -1,14 +1,11 @@ // Copyright (c) .NET Foundation. All rights reserved. // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. -using System; using System.Collections.Generic; -using System.IO; using System.Net.Http; using System.Threading.Tasks; using Microsoft.AspNetCore.Server.IntegrationTesting; using Microsoft.Extensions.Logging; -using Microsoft.Extensions.Logging.Testing; using Xunit; using Xunit.Abstractions; @@ -59,7 +56,7 @@ namespace ApplicationInsightsJavaScriptSnippetTest // Request to base address and check if various parts of the body are rendered & measure the cold startup time. var response = await RetryHelper.RetryRequest(async () => { - return await httpClient.GetAsync("\\Home\\ScriptCheck"); + return await httpClient.GetAsync("/Home/ScriptCheck"); }, logger: logger, cancellationToken: deploymentResult.HostShutdownToken); Assert.False(response == null, "Response object is null because the client could not " +