bUnit-dev / bUnit

bUnit is a testing library for Blazor components that make tests look, feel, and runs like regular unit tests. bUnit makes it easy to render and control a component under test’s life-cycle, pass parameter and inject services into it, trigger event handlers, and verify the rendered markup from the component using a built-in semantic HTML comparer.
https://bunit.dev
MIT License
1.14k stars 107 forks source link

fix: Fix tests for net9 #1548

Closed linkdotnet closed 1 month ago

linkdotnet commented 1 month ago

Package updates and fixes for new property in net9.0-rc.1

linkdotnet commented 1 month ago
image

??? Downgrade FROM 8.0.0 to 8.0.8

I am not a English native speaker but that would be an upgrade.

linkdotnet commented 1 month ago

Closes #1546

linkdotnet commented 1 month ago

Now our validate docs workflow fails with the same issue:

/home/runner/work/bUnit/bUnit/docs/samples/tests/xunit/bunit.docs.xunit.samples.csproj : error NU1605: Warning As Error: Detected package downgrade: Microsoft.Extensions.Logging from 3.1.0 to 3.1.6. Reference the package directly from the project to select a different version.  [/home/runner/work/bUnit/bUnit/docs/samples/samples.sln]

That happens since rc.1 - I am inclined to file a report. Have to reproduce