Skip to content

Commit

Permalink
deps+Tests: Microsoft.AspNetCore.Mvc.WebApiCompatShim 2.2.0 -> 2.3.0
Browse files Browse the repository at this point in the history
Also had to correct some tests which no longer ran as expected after
this upgrade. To me those corrections do not seem to break anything
FHIR-related.
  • Loading branch information
kennethmyhra committed Feb 6, 2025
1 parent 1288e48 commit f2beaf0
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 9 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -33,11 +33,11 @@ public class ResourceJsonInputFormatterTests : FormatterTestBase
[InlineData("text/*", false)]
[InlineData("text/xml", false)]
[InlineData("application/xml", false)]
[InlineData("application/some.entity+json", true)]
[InlineData("application/some.entity+json;v=2", true)]
[InlineData("application/some.entity+json", false)]
[InlineData("application/some.entity+json;v=2", false)]
[InlineData("application/some.entity+xml", false)]
[InlineData("application/some.entity+*", false)]
[InlineData("text/some.entity+json", true)]
[InlineData("text/some.entity+json", false)]
[InlineData("", false)]
[InlineData(null, false)]
[InlineData("invalid", false)]
Expand Down Expand Up @@ -124,4 +124,4 @@ protected static ResourceJsonInputFormatter GetInputFormatter(ParserSettings par
new FhirJsonParser(parserSettings),
ArrayPool<char>.Shared);
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -30,11 +30,11 @@ public class ResourceXmlInputFormatterTests : FormatterTestBase
[InlineData("text/*", false)]
[InlineData("text/json", false)]
[InlineData("application/json", false)]
[InlineData("application/some.entity+xml", true)]
[InlineData("application/some.entity+xml;v=2", true)]
[InlineData("application/some.entity+xml", false)]
[InlineData("application/some.entity+xml;v=2", false)]
[InlineData("application/some.entity+json", false)]
[InlineData("application/some.entity+*", false)]
[InlineData("text/some.entity+xml", true)]
[InlineData("text/some.entity+xml", false)]
[InlineData("", false)]
[InlineData(null, false)]
[InlineData("invalid", false)]
Expand Down Expand Up @@ -104,4 +104,4 @@ protected static ResourceXmlInputFormatter GetInputFormatter(ParserSettings pars
return new ResourceXmlInputFormatter(
new FhirXmlParser(parserSettings));
}
}
}
2 changes: 1 addition & 1 deletion src/Spark.Engine/Spark.Engine.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
</ItemGroup>

<ItemGroup Condition=" '$(TargetFramework)' == 'netstandard2.1' ">
<PackageReference Include="Microsoft.AspNetCore.Mvc.WebApiCompatShim" Version="2.2.0" />
<PackageReference Include="Microsoft.AspNetCore.Mvc.WebApiCompatShim" Version="2.3.0" />
</ItemGroup>

<ItemGroup Condition=" '$(TargetFramework)' == 'net472' ">
Expand Down

0 comments on commit f2beaf0

Please sign in to comment.