Skip to content

Commit c626381

Browse files
author
Timothy Mothra
authored
Refactor test frameworks (part 2) (#2701)
1 parent 792ade5 commit c626381

File tree

3 files changed

+5
-5
lines changed

3 files changed

+5
-5
lines changed

.props/Test.props

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,8 +21,8 @@
2121
-->
2222

2323
<SupportedFrameworks_NetCore>net7.0;net6.0;netcoreapp3.1;</SupportedFrameworks_NetCore>
24-
<SupportedFrameworks_NetFx Condition="$(OS) == 'Windows_NT'">net481;net480;net472;</SupportedFrameworks_NetFx>
25-
<LegacyFrameworks_NetFx Condition="$(OS) == 'Windows_NT'">net462;net46;net452;</LegacyFrameworks_NetFx>
24+
<SupportedFrameworks_NetFx Condition="$(OS) == 'Windows_NT'">net481;net480;net472;net462;</SupportedFrameworks_NetFx>
25+
<LegacyFrameworks_NetFx Condition="$(OS) == 'Windows_NT'">net46;net452;</LegacyFrameworks_NetFx>
2626

2727
<TargetFrameworks>$(SupportedFrameworks_NetCore)$(SupportedFrameworks_NetFx)</TargetFrameworks>
2828
<TargetFrameworks_WithLegacy>$(SupportedFrameworks_NetCore)$(SupportedFrameworks_NetFx)$(LegacyFrameworks_NetFx)</TargetFrameworks_WithLegacy>

NETCORE/test/IntegrationTests.Tests/RequestCollectionTest.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ public async Task RequestSuccess()
3030
{
3131
// Arrange
3232
var client = _factory.CreateClient();
33-
var path = "Home/Empty";
33+
var path = "Home/GetEmpty";
3434
var url = client.BaseAddress + path;
3535

3636
// Act

NETCORE/test/IntegrationTests.WebApp/Controllers/HomeController.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,8 +36,8 @@ public ActionResult<string> Get(int id)
3636
return "value";
3737
}
3838

39-
[HttpGet("Empty")]
40-
public ActionResult Empty()
39+
[HttpGet("GetEmpty")]
40+
public ActionResult GetEmpty()
4141
{
4242
return new OkResult();
4343
}

0 commit comments

Comments
 (0)