Formatting and clean up (#49)
Remove unnecessary usings and use forward slashes
This commit is contained in:
parent
c396d3198f
commit
85f9e63207
|
|
@ -1,14 +1,11 @@
|
||||||
// Copyright (c) .NET Foundation. All rights reserved.
|
// 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.
|
// 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.Collections.Generic;
|
||||||
using System.IO;
|
|
||||||
using System.Net.Http;
|
using System.Net.Http;
|
||||||
using System.Threading.Tasks;
|
using System.Threading.Tasks;
|
||||||
using Microsoft.AspNetCore.Server.IntegrationTesting;
|
using Microsoft.AspNetCore.Server.IntegrationTesting;
|
||||||
using Microsoft.Extensions.Logging;
|
using Microsoft.Extensions.Logging;
|
||||||
using Microsoft.Extensions.Logging.Testing;
|
|
||||||
using Xunit;
|
using Xunit;
|
||||||
using Xunit.Abstractions;
|
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.
|
// 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 () =>
|
var response = await RetryHelper.RetryRequest(async () =>
|
||||||
{
|
{
|
||||||
return await httpClient.GetAsync("\\Home\\ScriptCheck");
|
return await httpClient.GetAsync("/Home/ScriptCheck");
|
||||||
}, logger: logger, cancellationToken: deploymentResult.HostShutdownToken);
|
}, logger: logger, cancellationToken: deploymentResult.HostShutdownToken);
|
||||||
|
|
||||||
Assert.False(response == null, "Response object is null because the client could not " +
|
Assert.False(response == null, "Response object is null because the client could not " +
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue