Skip to content
This repository was archived by the owner on Nov 22, 2018. It is now read-only.

Commit 5a3ea74

Browse files
committed
React to HttpAbstractions namespace changes
- aspnet/HttpAbstractions#549 and aspnet/HttpAbstractions#592 - clean up `using`s
1 parent 2029510 commit 5a3ea74

File tree

3 files changed

+3
-5
lines changed

3 files changed

+3
-5
lines changed

test/Microsoft.AspNetCore.Cors.Test/CorsMiddlewareTests.cs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,6 @@
77
using Microsoft.AspNetCore.Builder;
88
using Microsoft.AspNetCore.Hosting;
99
using Microsoft.AspNetCore.Http;
10-
using Microsoft.AspNetCore.Http.Internal;
1110
using Microsoft.AspNetCore.TestHost;
1211
using Microsoft.Extensions.DependencyInjection;
1312
using Moq;

test/Microsoft.AspNetCore.Cors.Test/CorsServiceTests.cs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@
33

44
using System;
55
using Microsoft.AspNetCore.Http;
6-
using Microsoft.AspNetCore.Http.Internal;
76
using Xunit;
87

98
namespace Microsoft.AspNetCore.Cors.Infrastructure

test/Microsoft.AspNetCore.Cors.Test/DefaultCorsPolicyProviderTests.cs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
33

44
using System.Threading.Tasks;
5-
using Microsoft.AspNetCore.Http.Internal;
5+
using Microsoft.AspNetCore.Http;
66
using Xunit;
77

88
namespace Microsoft.AspNetCore.Cors.Infrastructure
@@ -23,7 +23,7 @@ public async Task UsesTheDefaultPolicyName()
2323
};
2424
var policyProvider = new DefaultCorsPolicyProvider(corsOptions);
2525

26-
// Act
26+
// Act
2727
var actualPolicy = await policyProvider.GetPolicyAsync(new DefaultHttpContext(), policyName: null);
2828

2929
// Assert
@@ -46,7 +46,7 @@ public async Task GetsNamedPolicy(string policyName)
4646
};
4747
var policyProvider = new DefaultCorsPolicyProvider(corsOptions);
4848

49-
// Act
49+
// Act
5050
var actualPolicy = await policyProvider.GetPolicyAsync(new DefaultHttpContext(), policyName);
5151

5252
// Assert

0 commit comments

Comments
 (0)