Skip to content

Commit ca87c81

Browse files
Add missing TFMs
1 parent 9de3861 commit ca87c81

File tree

3 files changed

+7
-7
lines changed

3 files changed

+7
-7
lines changed

src/AspNet/Acceptance/Asp.Versioning.WebApi.Acceptance.Tests/Asp.Versioning.WebApi.Acceptance.Tests.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<Project Sdk="Microsoft.NET.Sdk">
22

33
<PropertyGroup>
4-
<TargetFramework>net452</TargetFramework>
4+
<TargetFrameworks>net452;net472</TargetFrameworks>
55
<RootNamespace>Asp.Versioning</RootNamespace>
66
</PropertyGroup>
77

src/AspNet/WebApi/test/Asp.Versioning.WebApi.ApiExplorer.Tests/ApiExplorer/VersionedApiExplorerTest.cs

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ public void api_descriptions_should_recognize_direct_routes()
3737
var descriptions = apiExplorer.ApiDescriptions;
3838

3939
// assert
40-
descriptions.Single().Should().Should().BeEquivalentTo(
40+
descriptions.Single().Should().BeEquivalentTo(
4141
new { HttpMethod = Get, RelativePath = routeTemplate, ActionDescriptor = action },
4242
options => options.ExcludingMissingMembers() );
4343
}
@@ -70,7 +70,7 @@ public void api_descriptions_should_ignore_api_for_direct_route_action()
7070
var descriptions = apiExplorer.ApiDescriptions;
7171

7272
// assert
73-
descriptions.Single().Should().Should().BeEquivalentTo(
73+
descriptions.Single().Should().BeEquivalentTo(
7474
new { HttpMethod = Get, RelativePath = routeTemplate },
7575
options => options.ExcludingMissingMembers() );
7676
}
@@ -124,7 +124,7 @@ public void api_descriptions_should_recognize_composite_routes()
124124
var descriptions = apiExplorer.ApiDescriptions;
125125

126126
// assert
127-
descriptions.Single().Should().Should().BeEquivalentTo(
127+
descriptions.Single().Should().BeEquivalentTo(
128128
new { HttpMethod = Get, RelativePath = routeTemplate, ActionDescriptor = action },
129129
options => options.ExcludingMissingMembers() );
130130
}
@@ -208,7 +208,7 @@ public void api_descriptions_should_recognize_mixedX2Dcase_parameters()
208208
{
209209
// arrange
210210
var configuration = new HttpConfiguration();
211-
var routeTemplate = "api/values/{id}";
211+
var routeTemplate = "api/values/{Id}";
212212
var metadata = new ApiVersionMetadata( ApiVersionModel.Empty, new ApiVersionModel( new ApiVersion( 1, 0 ) ) );
213213
var controllerDescriptor = new HttpControllerDescriptor( configuration, "ApiExplorerValues", typeof( DuplicatedIdController ) );
214214
var action = new ReflectedHttpActionDescriptor( controllerDescriptor, typeof( DuplicatedIdController ).GetMethod( "Get" ) )
@@ -225,7 +225,7 @@ public void api_descriptions_should_recognize_mixedX2Dcase_parameters()
225225
var descriptions = apiExplorer.ApiDescriptions;
226226

227227
// assert
228-
descriptions.Single().Should().Should().BeEquivalentTo(
228+
descriptions.Single().Should().BeEquivalentTo(
229229
new { HttpMethod = Get, RelativePath = routeTemplate, ActionDescriptor = action },
230230
options => options.ExcludingMissingMembers() );
231231
}

src/AspNet/WebApi/test/Asp.Versioning.WebApi.ApiExplorer.Tests/Asp.Versioning.WebApi.ApiExplorer.Tests.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<Project Sdk="Microsoft.NET.Sdk">
22

33
<PropertyGroup>
4-
<TargetFramework>net452</TargetFramework>
4+
<TargetFrameworks>net452;net472</TargetFrameworks>
55
<RootNamespace>Asp.Versioning</RootNamespace>
66
</PropertyGroup>
77

0 commit comments

Comments
 (0)