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

Commit

Permalink
React to HttpAbstractions namespace changes
Browse files Browse the repository at this point in the history
  • Loading branch information
dougbu committed Mar 30, 2016
1 parent 2029510 commit 5a3ea74
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 5 deletions.
1 change: 0 additions & 1 deletion test/Microsoft.AspNetCore.Cors.Test/CorsMiddlewareTests.cs
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@
using Microsoft.AspNetCore.Builder;
using Microsoft.AspNetCore.Hosting;
using Microsoft.AspNetCore.Http;
using Microsoft.AspNetCore.Http.Internal;
using Microsoft.AspNetCore.TestHost;
using Microsoft.Extensions.DependencyInjection;
using Moq;
Expand Down
1 change: 0 additions & 1 deletion test/Microsoft.AspNetCore.Cors.Test/CorsServiceTests.cs
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@

using System;
using Microsoft.AspNetCore.Http;
using Microsoft.AspNetCore.Http.Internal;
using Xunit;

namespace Microsoft.AspNetCore.Cors.Infrastructure
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.

using System.Threading.Tasks;
using Microsoft.AspNetCore.Http.Internal;
using Microsoft.AspNetCore.Http;
using Xunit;

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

// Act
// Act
var actualPolicy = await policyProvider.GetPolicyAsync(new DefaultHttpContext(), policyName: null);

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

// Act
// Act
var actualPolicy = await policyProvider.GetPolicyAsync(new DefaultHttpContext(), policyName);

// Assert
Expand Down

0 comments on commit 5a3ea74

Please sign in to comment.