Skip to content
This repository was archived by the owner on Dec 24, 2020. It is now read-only.

Commit 5363973

Browse files
committed
Replace xunit.runner.aspnet by xunit.runner.console
1 parent a4668da commit 5363973

4 files changed

Lines changed: 18 additions & 14 deletions

File tree

test/Owin.Security.OAuth.Introspection.Tests/OAuthIntrospectionMiddlewareTests.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
using System.Reflection;
1414
using System.Security.Claims;
1515
using System.Threading.Tasks;
16-
using Microsoft.AspNet.Testing.xunit;
16+
using Microsoft.AspNetCore.Testing.xunit;
1717
using Microsoft.Owin.Security;
1818
using Microsoft.Owin.Testing;
1919
using Newtonsoft.Json;

test/Owin.Security.OAuth.Introspection.Tests/project.json

Lines changed: 8 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -4,20 +4,22 @@
44
},
55

66
"dependencies": {
7-
"Microsoft.AspNet.Testing": "1.0.0-*",
7+
"Microsoft.AspNetCore.Testing": "1.0.0-*",
88
"Microsoft.Owin.Testing": "3.0.1",
99
"Owin.Security.OAuth.Introspection": "1.0.0-*",
1010
"xunit": "2.1.0",
11-
"xunit.runner.aspnet": "2.0.0-aspnet-rc2-*",
11+
"xunit.runner.console": "2.1.0",
1212

1313
"System.Runtime": "4.1.0-*"
1414
},
1515

1616
"frameworks": {
17-
"dnx451": { }
17+
"net451": {
18+
"frameworkAssemblies": {
19+
"System.Runtime": { "type": "build", "version": "4.0.10.0" }
20+
}
21+
}
1822
},
1923

20-
"commands": {
21-
"test": "xunit.runner.aspnet"
22-
}
24+
"testRunner": "xunit"
2325
}

test/Owin.Security.OAuth.Validation.Tests/OAuthValidationMiddlewareTests.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
using System.Net.Http.Headers;
1313
using System.Security.Claims;
1414
using System.Threading.Tasks;
15-
using Microsoft.AspNet.Testing.xunit;
15+
using Microsoft.AspNetCore.Testing.xunit;
1616
using Microsoft.Owin.Security;
1717
using Microsoft.Owin.Testing;
1818
using Moq;

test/Owin.Security.OAuth.Validation.Tests/project.json

Lines changed: 8 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -4,21 +4,23 @@
44
},
55

66
"dependencies": {
7-
"Microsoft.AspNet.Testing": "1.0.0-*",
7+
"Microsoft.AspNetCore.Testing": "1.0.0-*",
88
"Microsoft.Owin.Testing": "3.0.1",
99
"Moq": "4.2.1312.1622",
1010
"Owin.Security.OAuth.Validation": "1.0.0-*",
1111
"xunit": "2.1.0",
12-
"xunit.runner.aspnet": "2.0.0-aspnet-rc2-*",
12+
"xunit.runner.console": "2.1.0",
1313

1414
"System.Runtime": "4.1.0-*"
1515
},
1616

1717
"frameworks": {
18-
"dnx451": { }
18+
"net451": {
19+
"frameworkAssemblies": {
20+
"System.Runtime": { "type": "build", "version": "4.0.10.0" }
21+
}
22+
}
1923
},
2024

21-
"commands": {
22-
"test": "xunit.runner.aspnet"
23-
}
25+
"testRunner": "xunit"
2426
}

0 commit comments

Comments
 (0)