Skip to content

Commit 00589d1

Browse files
committed
Upgrade EF Core packages to 9.0.14 and fix remaining FluentAssertions rename
EF Core 8→9 must be done as a single coordinated bump: Microsoft.EntityFrameworkCore, Microsoft.EntityFrameworkCore.Sqlite, and Microsoft.EntityFrameworkCore.Design all need to be at the same major version. The three separate Dependabot PRs (#494, #495, #496) each caused version conflicts or runtime failures when applied individually. Also fixes the remaining BeLessOrEqualTo → BeLessThanOrEqualTo rename missed in PR #504 (midRangePayload variable in OpsCliApiTests.cs had a different prefix so replace_all didn't catch it).
1 parent 175af21 commit 00589d1

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

backend/src/Taskdeck.Infrastructure/Taskdeck.Infrastructure.csproj

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -18,9 +18,9 @@
1818
<ItemGroup>
1919
<PackageReference Include="BCrypt.Net-Next" Version="4.1.0" />
2020
<PackageReference Include="Microsoft.AspNetCore.Http" Version="2.3.9" />
21-
<PackageReference Include="Microsoft.EntityFrameworkCore" Version="8.0.25" />
22-
<PackageReference Include="Microsoft.EntityFrameworkCore.Sqlite" Version="8.0.25" />
23-
<PackageReference Include="Microsoft.EntityFrameworkCore.Design" Version="8.0.25">
21+
<PackageReference Include="Microsoft.EntityFrameworkCore" Version="9.0.14" />
22+
<PackageReference Include="Microsoft.EntityFrameworkCore.Sqlite" Version="9.0.14" />
23+
<PackageReference Include="Microsoft.EntityFrameworkCore.Design" Version="9.0.14">
2424
<PrivateAssets>all</PrivateAssets>
2525
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
2626
</PackageReference>

backend/tests/Taskdeck.Api.Tests/OpsCliApiTests.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -155,7 +155,7 @@ public async Task RunCommand_ShouldFallbackCorrelationId_WhenRequestCorrelationH
155155
var midRangePayload = await midRangeResponse.Content.ReadFromJsonAsync<CommandRunDto>();
156156
midRangePayload.Should().NotBeNull();
157157
midRangePayload!.CorrelationId.Should().NotBe(midRangeInvalidCorrelationId);
158-
midRangePayload.CorrelationId.Length.Should().BeLessOrEqualTo(100);
158+
midRangePayload.CorrelationId.Length.Should().BeLessThanOrEqualTo(100);
159159

160160
midRangeResponse.Headers.TryGetValues("X-Request-Id", out var midRangeResponseRequestIds).Should().BeTrue();
161161
midRangeResponseRequestIds!.Single().Should().Be(midRangePayload.CorrelationId);

0 commit comments

Comments
 (0)