This repository was archived by the owner on Nov 22, 2018. It is now read-only.
File tree 3 files changed +3
-5
lines changed
test/Microsoft.AspNetCore.Cors.Test
3 files changed +3
-5
lines changed Original file line number Diff line number Diff line change 7
7
using Microsoft . AspNetCore . Builder ;
8
8
using Microsoft . AspNetCore . Hosting ;
9
9
using Microsoft . AspNetCore . Http ;
10
- using Microsoft . AspNetCore . Http . Internal ;
11
10
using Microsoft . AspNetCore . TestHost ;
12
11
using Microsoft . Extensions . DependencyInjection ;
13
12
using Moq ;
Original file line number Diff line number Diff line change 3
3
4
4
using System ;
5
5
using Microsoft . AspNetCore . Http ;
6
- using Microsoft . AspNetCore . Http . Internal ;
7
6
using Xunit ;
8
7
9
8
namespace Microsoft . AspNetCore . Cors . Infrastructure
Original file line number Diff line number Diff line change 2
2
// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
3
3
4
4
using System . Threading . Tasks ;
5
- using Microsoft . AspNetCore . Http . Internal ;
5
+ using Microsoft . AspNetCore . Http ;
6
6
using Xunit ;
7
7
8
8
namespace Microsoft . AspNetCore . Cors . Infrastructure
@@ -23,7 +23,7 @@ public async Task UsesTheDefaultPolicyName()
23
23
} ;
24
24
var policyProvider = new DefaultCorsPolicyProvider ( corsOptions ) ;
25
25
26
- // Act
26
+ // Act
27
27
var actualPolicy = await policyProvider . GetPolicyAsync ( new DefaultHttpContext ( ) , policyName : null ) ;
28
28
29
29
// Assert
@@ -46,7 +46,7 @@ public async Task GetsNamedPolicy(string policyName)
46
46
} ;
47
47
var policyProvider = new DefaultCorsPolicyProvider ( corsOptions ) ;
48
48
49
- // Act
49
+ // Act
50
50
var actualPolicy = await policyProvider . GetPolicyAsync ( new DefaultHttpContext ( ) , policyName ) ;
51
51
52
52
// Assert
You can’t perform that action at this time.
0 commit comments