Skip to content

Commit e95df7f

Browse files
committed
Fixed all reference errors for the test project
Removed (with #if) the tests linked to parts that were removed from the code in .Net Core Fixed with #if all the usings correctly.
1 parent 92df9ec commit e95df7f

15 files changed

+2244
-78
lines changed

FluentAssertionsMvc.sln

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@ Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Solution Items", "Solution
1616
ProjectSection(SolutionItems) = preProject
1717
_todo_.txt = _todo_.txt
1818
Contributors.txt = Contributors.txt
19+
global.json = global.json
1920
src\SolutionInfo.cs = src\SolutionInfo.cs
2021
EndProjectSection
2122
EndProject

global.json

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
{
2+
"projects": [ "src" ]
3+
}

src/FluentAssertions.AspNetCore.Mvc/Properties/AssemblyInfo.cs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,3 +17,5 @@
1717

1818
// The following GUID is for the ID of the typelib if this project is exposed to COM
1919
[assembly: Guid("ea71d220-089e-4cb1-b187-d9bb4dfd8624")]
20+
21+
[assembly: InternalsVisibleTo("FluentAssertions.AspNetCore.Mvc.Tests")]

tests/FluentAssertions.AspNetCore.Mvc.Tests/project.json

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,9 @@
44
"dependencies": {
55
"NETStandard.Library": "1.6.0",
66
"NUnit": "3.4.1",
7-
"dotnet-test-nunit": "3.4.0-beta-1"
7+
"dotnet-test-nunit": "3.4.0-beta-1",
8+
"Microsoft.AspNetCore.Mvc": "1.0.0",
9+
"FluentAssertions.AspNetCore.Mvc": "1.0.0-*"
810
},
911

1012
"buildOptions": {

0 commit comments

Comments
 (0)