Skip to content

Commit

Permalink
chore: Upgrade packages
Browse files Browse the repository at this point in the history
  • Loading branch information
linkdotnet committed Jul 21, 2024
1 parent 2f39544 commit a1e04ed
Show file tree
Hide file tree
Showing 6 changed files with 7 additions and 9 deletions.
2 changes: 1 addition & 1 deletion src/bunit.template/template/Company.BlazorTests1.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@

<ItemGroup Condition="'$(testFramework_xunit)' == 'true'">
<PackageReference Include="xunit" Version="2.9.0" />
<PackageReference Include="xunit.runner.visualstudio" Version="2.5.4">
<PackageReference Include="xunit.runner.visualstudio" Version="2.8.2">
<PrivateAssets>all</PrivateAssets>
<IncludeAssets>runtime; build; native; contentfiles; analyzers</IncludeAssets>
</PackageReference>
Expand Down
2 changes: 1 addition & 1 deletion tests/bunit.generators.tests/bunit.generators.tests.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
<PackageReference Update="Microsoft.CodeAnalysis.CSharp.SourceGenerators.Testing.XUnit" Version="1.1.1" />

<PackageReference Include="xunit" Version="2.9.0" />
<PackageReference Include="xunit.runner.visualstudio" Version="2.4.5">
<PackageReference Include="xunit.runner.visualstudio" Version="2.8.2">
<PrivateAssets>all</PrivateAssets>
<IncludeAssets>runtime; build; native; contentfiles; analyzers</IncludeAssets>
</PackageReference>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,10 +18,9 @@ protected override void OnInitialized()
else
{
State.PersistAsJson(PersistenceKey, Forecasts);
return Task.CompletedTask;
}

private WeatherForecast[] CreateForecasts()
WeatherForecast[] CreateForecasts()
{
return new WeatherForecast[]
{
Expand Down
2 changes: 1 addition & 1 deletion tests/bunit.tests/Extensions/InputFile/InputFileTest.cs
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@ public void Test008()
[Fact(DisplayName = "Uploading file exceeding the maximum file size will throw an exception")]
public void Test009()
{
var cut = RenderComponent<InputFileComponent>(ps => ps.Add(p => p.MaxFileSize, 512));
var cut = Render<InputFileComponent>(ps => ps.Add(p => p.MaxFileSize, 512));
var file = InputFileContent.CreateFromText(new string('a', 513));

Action act = () => cut.FindComponent<InputFile>().UploadFiles(file);
Expand Down
3 changes: 1 addition & 2 deletions tests/bunit.tests/bunit.tests.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,7 @@

<ItemGroup>
<PackageReference Include="xunit" Version="2.9.0" />
<!-- DO NOT UPGRADE TO versions > 2.4.5 as they do not support .net5 or older -->
<PackageReference Include="xunit.runner.visualstudio" Version="2.4.5">
<PackageReference Include="xunit.runner.visualstudio" Version="2.8.2">
<PrivateAssets>all</PrivateAssets>
<IncludeAssets>runtime; build; native; contentfiles; analyzers</IncludeAssets>
<NoWarn>NU1701</NoWarn>
Expand Down
2 changes: 1 addition & 1 deletion tests/bunit.web.query.tests/bunit.web.query.tests.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@

<ItemGroup>
<PackageReference Include="xunit" Version="2.9.0" />
<PackageReference Include="xunit.runner.visualstudio" Version="2.5.7">
<PackageReference Include="xunit.runner.visualstudio" Version="2.8.2">
<PrivateAssets>all</PrivateAssets>
<IncludeAssets>runtime; build; native; contentfiles; analyzers</IncludeAssets>
<NoWarn>NU1701</NoWarn>
Expand Down

0 comments on commit a1e04ed

Please sign in to comment.