Skip to content

Commit a1e04ed

Browse files
committed
chore: Upgrade packages
1 parent 2f39544 commit a1e04ed

File tree

6 files changed

+7
-9
lines changed

6 files changed

+7
-9
lines changed

Diff for: src/bunit.template/template/Company.BlazorTests1.csproj

+1-1
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@
2626

2727
<ItemGroup Condition="'$(testFramework_xunit)' == 'true'">
2828
<PackageReference Include="xunit" Version="2.9.0" />
29-
<PackageReference Include="xunit.runner.visualstudio" Version="2.5.4">
29+
<PackageReference Include="xunit.runner.visualstudio" Version="2.8.2">
3030
<PrivateAssets>all</PrivateAssets>
3131
<IncludeAssets>runtime; build; native; contentfiles; analyzers</IncludeAssets>
3232
</PackageReference>

Diff for: tests/bunit.generators.tests/bunit.generators.tests.csproj

+1-1
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@
2525
<PackageReference Update="Microsoft.CodeAnalysis.CSharp.SourceGenerators.Testing.XUnit" Version="1.1.1" />
2626

2727
<PackageReference Include="xunit" Version="2.9.0" />
28-
<PackageReference Include="xunit.runner.visualstudio" Version="2.4.5">
28+
<PackageReference Include="xunit.runner.visualstudio" Version="2.8.2">
2929
<PrivateAssets>all</PrivateAssets>
3030
<IncludeAssets>runtime; build; native; contentfiles; analyzers</IncludeAssets>
3131
</PackageReference>

Diff for: tests/bunit.testassets/SampleComponents/PersistentComponentStateSample.razor.cs

+2-3
Original file line numberDiff line numberDiff line change
@@ -18,10 +18,9 @@ protected override void OnInitialized()
1818
else
1919
{
2020
State.PersistAsJson(PersistenceKey, Forecasts);
21-
return Task.CompletedTask;
2221
}
23-
24-
private WeatherForecast[] CreateForecasts()
22+
23+
WeatherForecast[] CreateForecasts()
2524
{
2625
return new WeatherForecast[]
2726
{

Diff for: tests/bunit.tests/Extensions/InputFile/InputFileTest.cs

+1-1
Original file line numberDiff line numberDiff line change
@@ -105,7 +105,7 @@ public void Test008()
105105
[Fact(DisplayName = "Uploading file exceeding the maximum file size will throw an exception")]
106106
public void Test009()
107107
{
108-
var cut = RenderComponent<InputFileComponent>(ps => ps.Add(p => p.MaxFileSize, 512));
108+
var cut = Render<InputFileComponent>(ps => ps.Add(p => p.MaxFileSize, 512));
109109
var file = InputFileContent.CreateFromText(new string('a', 513));
110110

111111
Action act = () => cut.FindComponent<InputFile>().UploadFiles(file);

Diff for: tests/bunit.tests/bunit.tests.csproj

+1-2
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,7 @@
1313

1414
<ItemGroup>
1515
<PackageReference Include="xunit" Version="2.9.0" />
16-
<!-- DO NOT UPGRADE TO versions > 2.4.5 as they do not support .net5 or older -->
17-
<PackageReference Include="xunit.runner.visualstudio" Version="2.4.5">
16+
<PackageReference Include="xunit.runner.visualstudio" Version="2.8.2">
1817
<PrivateAssets>all</PrivateAssets>
1918
<IncludeAssets>runtime; build; native; contentfiles; analyzers</IncludeAssets>
2019
<NoWarn>NU1701</NoWarn>

Diff for: tests/bunit.web.query.tests/bunit.web.query.tests.csproj

+1-1
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414

1515
<ItemGroup>
1616
<PackageReference Include="xunit" Version="2.9.0" />
17-
<PackageReference Include="xunit.runner.visualstudio" Version="2.5.7">
17+
<PackageReference Include="xunit.runner.visualstudio" Version="2.8.2">
1818
<PrivateAssets>all</PrivateAssets>
1919
<IncludeAssets>runtime; build; native; contentfiles; analyzers</IncludeAssets>
2020
<NoWarn>NU1701</NoWarn>

0 commit comments

Comments
 (0)